﻿// MT537




using Little.Soldier.SWIFT;
using Little.Soldier.SWIFT.Definition;
using System.Collections.Generic;
using System.ComponentModel;

namespace Little.Soldier.SWIFT.Messages.Category5
{
  public class MT537 : SwiftMessage
  {
    private static SwiftMessageDefinition MessageDefinition;
    private static SwiftTagSequenceDefinition U0002;
    private static SwiftTagDefinition U0003;
    private static SwiftTagSubItemDefinition U0004;
    private static SwiftTagDefinition U0005;
    private static SwiftTagSubItemDefinition U0006;
    private static SwiftTagSubItemDefinition U0007;
    private static SwiftTagChoiceDefinition U0008;
    private static SwiftTagDefinition U000E;
    private static SwiftTagSubItemDefinition U000F;
    private static SwiftTagSubItemDefinition U0010;
    private static SwiftTagDefinition U0011;
    private static SwiftTagSubItemDefinition U0012;
    private static SwiftTagSubItemDefinition U0013;
    private static SwiftTagDefinition U0014;
    private static SwiftTagSubItemDefinition U0015;
    private static SwiftTagSubItemDefinition U0016;
    private static SwiftTagDefinition U0017;
    private static SwiftTagSubItemDefinition U0018;
    private static SwiftTagSubItemDefinition U0019;
    private static SwiftTagSubItemDefinition U001A;
    private static SwiftTagChoiceDefinition U001B;
    private static SwiftTagDefinition U001C;
    private static SwiftTagSubItemDefinition U001D;
    private static SwiftTagSubItemDefinition U001E;
    private static SwiftTagDefinition U001F;
    private static SwiftTagSubItemDefinition U007F;
    private static SwiftTagSubItemDefinition U0080;
    private static SwiftTagSubItemDefinition U0081;
    private static SwiftTagSubItemDefinition U0082;
    private static SwiftTagDefinition U0083;
    private static SwiftTagSubItemDefinition U0084;
    private static SwiftTagSubItemDefinition U0086;
    private static SwiftTagSubItemDefinition U0087;
    private static SwiftTagSubItemDefinition U0088;
    private static SwiftTagSubItemDefinition U0089;
    private static SwiftTagSubItemDefinition U008A;
    private static SwiftTagSubItemDefinition U008B;
    private static SwiftTagSubItemDefinition U008C;
    private static SwiftTagSubItemDefinition U008D;
    private static SwiftTagChoiceDefinition U008E;
    private static SwiftTagDefinition U008F;
    private static SwiftTagSubItemDefinition U0090;
    private static SwiftTagSubItemDefinition U0091;
    private static SwiftTagDefinition U0092;
    private static SwiftTagSubItemDefinition U0093;
    private static SwiftTagSubItemDefinition U0094;
    private static SwiftTagSubItemDefinition U0095;
    private static SwiftTagSequenceDefinition U0096;
    private static SwiftTagDefinition U0097;
    private static SwiftTagSubItemDefinition U0098;
    private static SwiftTagChoiceDefinition U0099;
    private static SwiftTagDefinition U009A;
    private static SwiftTagSubItemDefinition U009B;
    private static SwiftTagSubItemDefinition U009C;
    private static SwiftTagSubItemDefinition U009D;
    private static SwiftTagDefinition U009E;
    private static SwiftTagSubItemDefinition U009F;
    private static SwiftTagSubItemDefinition U0001U0002;
    private static SwiftTagDefinition U0002U0002;
    private static SwiftTagSubItemDefinition U0003U0002;
    private static SwiftTagSubItemDefinition U0004U0002;
    private static SwiftTagDefinition U0005U0002;
    private static SwiftTagSubItemDefinition U0006U0002;
    private static SwiftTagChoiceDefinition U0007U0002;
    private static SwiftTagDefinition U0008U0002;
    private static SwiftTagSubItemDefinition U000EU0002;
    private static SwiftTagSubItemDefinition U000FU0002;
    private static SwiftTagDefinition U0010U0002;
    private static SwiftTagSubItemDefinition U0011U0002;
    private static SwiftTagSubItemDefinition U0012U0002;
    private static SwiftTagSubItemDefinition U0013U0002;
    private static SwiftTagChoiceDefinition U0014U0002;
    private static SwiftTagDefinition U0015U0002;
    private static SwiftTagSubItemDefinition U0016U0002;
    private static SwiftTagSubItemDefinition U0017U0002;
    private static SwiftTagDefinition U0018U0002;
    private static SwiftTagSubItemDefinition U0019U0002;
    private static SwiftTagSubItemDefinition U001AU0002;
    private static SwiftTagSubItemDefinition U001BU0002;
    private static SwiftTagSubItemDefinition U001CU0002;
    private static SwiftTagDefinition U001DU0002;
    private static SwiftTagSubItemDefinition U001EU0002;
    private static SwiftTagSubItemDefinition U001FU0002;
    private static SwiftTagDefinition U007FU0002;
    private static SwiftTagSubItemDefinition U0080U0002;
    private static SwiftTagSequenceDefinition U0081U0002;
    private static SwiftTagDefinition U0082U0002;
    private static SwiftTagSubItemDefinition U0083U0002;
    private static SwiftTagDefinition U0084U0002;
    private static SwiftTagSubItemDefinition U0086U0002;
    private static SwiftTagSubItemDefinition U0087U0002;
    private static SwiftTagSubItemDefinition U0088U0002;
    private static SwiftTagSequenceDefinition U0089U0002;
    private static SwiftTagDefinition U008AU0002;
    private static SwiftTagSubItemDefinition U008BU0002;
    private static SwiftTagDefinition U008CU0002;
    private static SwiftTagSubItemDefinition U008DU0002;
    private static SwiftTagSubItemDefinition U008EU0002;
    private static SwiftTagSubItemDefinition U008FU0002;
    private static SwiftTagDefinition U0090U0002;
    private static SwiftTagSubItemDefinition U0091U0002;
    private static SwiftTagSubItemDefinition U0092U0002;
    private static SwiftTagDefinition U0093U0002;
    private static SwiftTagSubItemDefinition U0094U0002;
    private static SwiftTagSequenceDefinition U0095U0002;
    private static SwiftTagDefinition U0096U0002;
    private static SwiftTagSubItemDefinition U0097U0002;
    private static SwiftTagSequenceDefinition U0098U0002;
    private static SwiftTagDefinition U0099U0002;
    private static SwiftTagSubItemDefinition U009AU0002;
    private static SwiftTagChoiceDefinition U009BU0002;
    private static SwiftTagDefinition U009CU0002;
    private static SwiftTagSubItemDefinition U009DU0002;
    private static SwiftTagSubItemDefinition U009EU0002;
    private static SwiftTagSubItemDefinition U009FU0002;
    private static SwiftTagDefinition U0001U0003;
    private static SwiftTagSubItemDefinition U0002U0003;
    private static SwiftTagSubItemDefinition U0003U0003;
    private static SwiftTagDefinition U0004U0003;
    private static SwiftTagSubItemDefinition U0005U0003;
    private static SwiftTagSubItemDefinition U0006U0003;
    private static SwiftTagDefinition U0007U0003;
    private static SwiftTagSubItemDefinition U0008U0003;
    private static SwiftTagSequenceDefinition U000EU0003;
    private static SwiftTagDefinition U000FU0003;
    private static SwiftTagSubItemDefinition U0010U0003;
    private static SwiftTagChoiceDefinition U0011U0003;
    private static SwiftTagDefinition U0012U0003;
    private static SwiftTagSubItemDefinition U0013U0003;
    private static SwiftTagSubItemDefinition U0014U0003;
    private static SwiftTagDefinition U0015U0003;
    private static SwiftTagSubItemDefinition U0016U0003;
    private static SwiftTagSubItemDefinition U0017U0003;
    private static SwiftTagSubItemDefinition U0018U0003;
    private static SwiftTagSubItemDefinition U0019U0003;
    private static SwiftTagDefinition U001AU0003;
    private static SwiftTagSubItemDefinition U001BU0003;
    private static SwiftTagSubItemDefinition U001CU0003;
    private static SwiftTagSubItemDefinition U001DU0003;
    private static SwiftTagSubItemDefinition U001EU0003;
    private static SwiftTagDefinition U001FU0003;
    private static SwiftTagSubItemDefinition U007FU0003;
    private static SwiftTagSubItemDefinition U0080U0003;
    private static SwiftTagDefinition U0081U0003;
    private static SwiftTagSubItemDefinition U0082U0003;
    private static SwiftTagSubItemDefinition U0083U0003;
    private static SwiftTagSubItemDefinition U0084U0003;
    private static SwiftTagDefinition U0086U0003;
    private static SwiftTagSubItemDefinition U0087U0003;
    private static SwiftTagSubItemDefinition U0088U0003;
    private static SwiftTagSubItemDefinition U0089U0003;
    private static SwiftTagSubItemDefinition U008AU0003;
    private static SwiftTagDefinition U008BU0003;
    private static SwiftTagSubItemDefinition U008CU0003;
    private static SwiftTagSubItemDefinition U008DU0003;
    private static SwiftTagChoiceDefinition U008EU0003;
    private static SwiftTagDefinition U008FU0003;
    private static SwiftTagSubItemDefinition U0090U0003;
    private static SwiftTagSubItemDefinition U0091U0003;
    private static SwiftTagDefinition U0092U0003;
    private static SwiftTagSubItemDefinition U0093U0003;
    private static SwiftTagSubItemDefinition U0094U0003;
    private static SwiftTagSubItemDefinition U0095U0003;
    private static SwiftTagChoiceDefinition U0096U0003;
    private static SwiftTagDefinition U0097U0003;
    private static SwiftTagSubItemDefinition U0098U0003;
    private static SwiftTagSubItemDefinition U0099U0003;
    private static SwiftTagDefinition U009AU0003;
    private static SwiftTagSubItemDefinition U009BU0003;
    private static SwiftTagSubItemDefinition U009CU0003;
    private static SwiftTagSubItemDefinition U009DU0003;
    private static SwiftTagSubItemDefinition U009EU0003;
    private static SwiftTagDefinition U009FU0003;
    private static SwiftTagSubItemDefinition U0001U0004;
    private static SwiftTagSubItemDefinition U0002U0004;
    private static SwiftTagSubItemDefinition U0003U0004;
    private static SwiftTagDefinition U0004U0004;
    private static SwiftTagSubItemDefinition U0005U0004;
    private static SwiftTagSubItemDefinition U0006U0004;
    private static SwiftTagSequenceDefinition U0007U0004;
    private static SwiftTagDefinition U0008U0004;
    private static SwiftTagSubItemDefinition U000EU0004;
    private static SwiftTagChoiceDefinition U000FU0004;
    private static SwiftTagDefinition U0010U0004;
    private static SwiftTagSubItemDefinition U0011U0004;
    private static SwiftTagSubItemDefinition U0012U0004;
    private static SwiftTagDefinition U0013U0004;
    private static SwiftTagSubItemDefinition U0014U0004;
    private static SwiftTagSubItemDefinition U0015U0004;
    private static SwiftTagDefinition U0016U0004;
    private static SwiftTagSubItemDefinition U0017U0004;
    private static SwiftTagSubItemDefinition U0018U0004;
    private static SwiftTagSubItemDefinition U0019U0004;
    private static SwiftTagDefinition U001AU0004;
    private static SwiftTagSubItemDefinition U001BU0004;
    private static SwiftTagSubItemDefinition U001CU0004;
    private static SwiftTagChoiceDefinition U001DU0004;
    private static SwiftTagDefinition U001EU0004;
    private static SwiftTagSubItemDefinition U001FU0004;
    private static SwiftTagSubItemDefinition U007FU0004;
    private static SwiftTagDefinition U0080U0004;
    private static SwiftTagSubItemDefinition U0081U0004;
    private static SwiftTagSubItemDefinition U0082U0004;
    private static SwiftTagSubItemDefinition U0083U0004;
    private static SwiftTagSubItemDefinition U0084U0004;
    private static SwiftTagDefinition U0086U0004;
    private static SwiftTagSubItemDefinition U0087U0004;
    private static SwiftTagSubItemDefinition U0088U0004;
    private static SwiftTagDefinition U0089U0004;
    private static SwiftTagSubItemDefinition U008AU0004;
    private static SwiftTagDefinition U008BU0004;
    private static SwiftTagSubItemDefinition U008CU0004;
    private static SwiftTagDefinition U008DU0004;
    private static SwiftTagSubItemDefinition U008EU0004;
    private static SwiftTagDefinition U008FU0004;
    private static SwiftTagSubItemDefinition U0090U0004;
    private static SwiftTagSequenceDefinition U0091U0004;
    private static SwiftTagDefinition U0092U0004;
    private static SwiftTagSubItemDefinition U0093U0004;
    private static SwiftTagSequenceDefinition U0094U0004;
    private static SwiftTagDefinition U0095U0004;
    private static SwiftTagSubItemDefinition U0096U0004;
    private static SwiftTagChoiceDefinition U0097U0004;
    private static SwiftTagDefinition U0098U0004;
    private static SwiftTagSubItemDefinition U0099U0004;
    private static SwiftTagSubItemDefinition U009AU0004;
    private static SwiftTagSubItemDefinition U009BU0004;
    private static SwiftTagDefinition U009CU0004;
    private static SwiftTagSubItemDefinition U009DU0004;
    private static SwiftTagSubItemDefinition U009EU0004;
    private static SwiftTagDefinition U009FU0004;
    private static SwiftTagSubItemDefinition U0001U0005;
    private static SwiftTagSubItemDefinition U0002U0005;
    private static SwiftTagDefinition U0003U0005;
    private static SwiftTagSubItemDefinition U0004U0005;
    private static SwiftTagSequenceDefinition U0005U0005;
    private static SwiftTagDefinition U0006U0005;
    private static SwiftTagSubItemDefinition U0007U0005;
    private static SwiftTagChoiceDefinition U0008U0005;
    private static SwiftTagDefinition U000EU0005;
    private static SwiftTagSubItemDefinition U000FU0005;
    private static SwiftTagSubItemDefinition U0010U0005;
    private static SwiftTagSubItemDefinition U0011U0005;
    private static SwiftTagSubItemDefinition U0012U0005;
    private static SwiftTagDefinition U0013U0005;
    private static SwiftTagSubItemDefinition U0014U0005;
    private static SwiftTagSubItemDefinition U0015U0005;
    private static SwiftTagDefinition U0016U0005;
    private static SwiftTagSubItemDefinition U0017U0005;
    private static SwiftTagSubItemDefinition U0018U0005;
    private static SwiftTagSubItemDefinition U0019U0005;
    private static SwiftTagSubItemDefinition U001AU0005;
    private static SwiftTagDefinition U001BU0005;
    private static SwiftTagSubItemDefinition U001CU0005;
    private static SwiftTagSubItemDefinition U001DU0005;
    private static SwiftTagDefinition U001EU0005;
    private static SwiftTagSubItemDefinition U001FU0005;
    private static SwiftTagSubItemDefinition U007FU0005;
    private static SwiftTagSubItemDefinition U0080U0005;
    private static SwiftTagDefinition U0081U0005;
    private static SwiftTagSubItemDefinition U0082U0005;
    private static SwiftTagSubItemDefinition U0083U0005;
    private static SwiftTagSubItemDefinition U0084U0005;
    private static SwiftTagSubItemDefinition U0086U0005;
    private static SwiftTagDefinition U0087U0005;
    private static SwiftTagSubItemDefinition U0088U0005;
    private static SwiftTagSubItemDefinition U0089U0005;
    private static SwiftTagChoiceDefinition U008AU0005;
    private static SwiftTagDefinition U008BU0005;
    private static SwiftTagSubItemDefinition U008CU0005;
    private static SwiftTagSubItemDefinition U008DU0005;
    private static SwiftTagDefinition U008EU0005;
    private static SwiftTagSubItemDefinition U008FU0005;
    private static SwiftTagSubItemDefinition U0090U0005;
    private static SwiftTagSubItemDefinition U0091U0005;
    private static SwiftTagChoiceDefinition U0092U0005;
    private static SwiftTagDefinition U0093U0005;
    private static SwiftTagSubItemDefinition U0094U0005;
    private static SwiftTagSubItemDefinition U0095U0005;
    private static SwiftTagDefinition U0096U0005;
    private static SwiftTagSubItemDefinition U0097U0005;
    private static SwiftTagSubItemDefinition U0098U0005;
    private static SwiftTagSubItemDefinition U0099U0005;
    private static SwiftTagSubItemDefinition U009AU0005;
    private static SwiftTagDefinition U009BU0005;
    private static SwiftTagSubItemDefinition U009CU0005;
    private static SwiftTagSubItemDefinition U009DU0005;
    private static SwiftTagSubItemDefinition U009EU0005;
    private static SwiftTagDefinition U009FU0005;
    private static SwiftTagSubItemDefinition U0001U0006;
    private static SwiftTagSubItemDefinition U0002U0006;
    private static SwiftTagSequenceDefinition U0003U0006;
    private static SwiftTagDefinition U0004U0006;
    private static SwiftTagSubItemDefinition U0005U0006;
    private static SwiftTagChoiceDefinition U0006U0006;
    private static SwiftTagDefinition U0007U0006;
    private static SwiftTagSubItemDefinition U0008U0006;
    private static SwiftTagSubItemDefinition U000EU0006;
    private static SwiftTagDefinition U000FU0006;
    private static SwiftTagSubItemDefinition U0010U0006;
    private static SwiftTagSubItemDefinition U0011U0006;
    private static SwiftTagDefinition U0012U0006;
    private static SwiftTagSubItemDefinition U0013U0006;
    private static SwiftTagSubItemDefinition U0014U0006;
    private static SwiftTagSubItemDefinition U0015U0006;
    private static SwiftTagDefinition U0016U0006;
    private static SwiftTagSubItemDefinition U0017U0006;
    private static SwiftTagSubItemDefinition U0018U0006;
    private static SwiftTagChoiceDefinition U0019U0006;
    private static SwiftTagDefinition U001AU0006;
    private static SwiftTagSubItemDefinition U001BU0006;
    private static SwiftTagSubItemDefinition U001CU0006;
    private static SwiftTagDefinition U001DU0006;
    private static SwiftTagSubItemDefinition U001EU0006;
    private static SwiftTagSubItemDefinition U001FU0006;
    private static SwiftTagSubItemDefinition U007FU0006;
    private static SwiftTagSubItemDefinition U0080U0006;
    private static SwiftTagDefinition U0081U0006;
    private static SwiftTagSubItemDefinition U0082U0006;
    private static SwiftTagSubItemDefinition U0083U0006;
    private static SwiftTagDefinition U0084U0006;
    private static SwiftTagSubItemDefinition U0086U0006;
    private static SwiftTagDefinition U0087U0006;
    private static SwiftTagSubItemDefinition U0088U0006;
    private static SwiftTagSequenceDefinition U0089U0006;
    private static SwiftTagDefinition U008AU0006;
    private static SwiftTagSubItemDefinition U008BU0006;
    private static SwiftTagDefinition U008CU0006;
    private static SwiftTagSubItemDefinition U008DU0006;
    private static SwiftTagSubItemDefinition U008EU0006;
    private static SwiftTagSubItemDefinition U008FU0006;
    private static SwiftTagSequenceDefinition U0090U0006;
    private static SwiftTagDefinition U0091U0006;
    private static SwiftTagSubItemDefinition U0092U0006;
    private static SwiftTagDefinition U0093U0006;
    private static SwiftTagSubItemDefinition U0094U0006;
    private static SwiftTagSubItemDefinition U0095U0006;
    private static SwiftTagSubItemDefinition U0096U0006;
    private static SwiftTagDefinition U0097U0006;
    private static SwiftTagSubItemDefinition U0098U0006;
    private static SwiftTagSubItemDefinition U0099U0006;
    private static SwiftTagDefinition U009AU0006;
    private static SwiftTagSubItemDefinition U009BU0006;
    private static SwiftTagDefinition U009CU0006;
    private static SwiftTagSubItemDefinition U009DU0006;
    private static SwiftTagDefinition U009EU0006;
    private static SwiftTagSubItemDefinition U009FU0006;
    private static SwiftTagSequenceDefinition U0001U0007;
    private static SwiftTagDefinition U0002U0007;
    private static SwiftTagSubItemDefinition U0003U0007;
    private static SwiftTagChoiceDefinition U0004U0007;
    private static SwiftTagDefinition U0005U0007;
    private static SwiftTagSubItemDefinition U0006U0007;
    private static SwiftTagSubItemDefinition U0007U0007;
    private static SwiftTagDefinition U0008U0007;
    private static SwiftTagSubItemDefinition U000EU0007;
    private static SwiftTagSubItemDefinition U000FU0007;
    private static SwiftTagSubItemDefinition U0010U0007;
    private static SwiftTagDefinition U0011U0007;
    private static SwiftTagSubItemDefinition U0012U0007;
    private static SwiftTagSubItemDefinition U0013U0007;
    private static SwiftTagDefinition U0014U0007;
    private static SwiftTagSubItemDefinition U0015U0007;

    [Description("General Information")]
    public MT537.SequenceAClass SequenceA
    {
      get
      {
        return new MT537.SequenceAClass((SwiftElement) this, 0, false);
      }
    }

    [Description("Status")]
    public MT537.SequenceBClass[] SequenceB
    {
      get
      {
        int index = -1;
        List<MT537.SequenceBClass> list = new List<MT537.SequenceBClass>();
        int count;
        do
        {
          ++index;
          MT537.SequenceBClass sequenceBclass = new MT537.SequenceBClass((SwiftElement) this, index, false);
          count = this.ListTags((SwiftElement) sequenceBclass).Count;
          if (count > 0)
            list.Add(sequenceBclass);
        }
        while (count > 0);
        return list.ToArray();
      }
    }

    [Description("Transactions")]
    public MT537.SequenceCClass[] SequenceC
    {
      get
      {
        int index = -1;
        List<MT537.SequenceCClass> list = new List<MT537.SequenceCClass>();
        int count;
        do
        {
          ++index;
          MT537.SequenceCClass sequenceCclass = new MT537.SequenceCClass((SwiftElement) this, index, false);
          count = this.ListTags((SwiftElement) sequenceCclass).Count;
          if (count > 0)
            list.Add(sequenceCclass);
        }
        while (count > 0);
        return list.ToArray();
      }
    }

    [Description("Additional Information")]
    public MT537.SequenceDClass SequenceD
    {
      get
      {
        MT537.SequenceDClass sequenceDclass = new MT537.SequenceDClass((SwiftElement) this, 0, false);
        if (this.ListTags((SwiftElement) sequenceDclass).Count > 0)
          return sequenceDclass;
        else
          return (MT537.SequenceDClass) null;
      }
    }

    public MT537()
      : base(true)
    {
    }

    public MT537(SwiftMessage message)
      : base(message)
    {
    }

    public MT537.SequenceBClass AddSequenceB()
    {
      return new MT537.SequenceBClass((SwiftElement) this, this.SequenceB.Length, true);
    }

    public void RemoveSequenceB(MT537.SequenceBClass sequence)
    {
      foreach (SwiftTag tag in this.ListTags((SwiftElement) sequence))
        this.RemoveTag(tag);
    }

    public MT537.SequenceCClass AddSequenceC()
    {
      return new MT537.SequenceCClass((SwiftElement) this, this.SequenceC.Length, true);
    }

    public void RemoveSequenceC(MT537.SequenceCClass sequence)
    {
      foreach (SwiftTag tag in this.ListTags((SwiftElement) sequence))
        this.RemoveTag(tag);
    }

    public MT537.SequenceDClass AddSequenceD()
    {
      return this.SequenceD ?? new MT537.SequenceDClass((SwiftElement) this, 0, true);
    }

    public void RemoveSequenceD(MT537.SequenceDClass sequence)
    {
      foreach (SwiftTag tag in this.ListTags((SwiftElement) sequence))
        this.RemoveTag(tag);
    }

    internal override SwiftMessageDefinition MsgDefinition()
    {
      return MT537.MessageDefinition;
    }

    protected override void InitSwiftMessageDefinition()
    {
      MT537.MessageDefinition = new SwiftMessageDefinition("MT537", "Statement of Pending Transactions");
      MT537.U0002 = new SwiftTagSequenceDefinition("SequenceA", "General Information");
      MT537.U0003 = new SwiftTagDefinition("StartOfBlock_A_16R", "Start of Block");
      MT537.U0003.TagName = ":16R:GENL";
      MT537.U0004 = new SwiftTagSubItemDefinition("StartOfBlock", "Start of Block ");
      MT537.U0004.Mandatory = false;
      MT537.U0003.Elements.Add((SwiftDefinitionElement) MT537.U0004);
      MT537.U0002.Elements.Add((SwiftDefinitionElement) MT537.U0003);
      MT537.U0005 = new SwiftTagDefinition("PageNumberContinuationIndicator_A_28E", "Page Number/Continuation Indicator");
      MT537.U0005.TagName = ":28E:";
      MT537.U0006 = new SwiftTagSubItemDefinition("PageNumber", "Page Number");
      MT537.U0005.Elements.Add((SwiftDefinitionElement) MT537.U0006);
      MT537.U0007 = new SwiftTagSubItemDefinition("ContinuationIndicator", "Continuation Indicator");
      MT537.U0005.Elements.Add((SwiftDefinitionElement) MT537.U0007);
      MT537.U0002.Elements.Add((SwiftDefinitionElement) MT537.U0005);
      MT537.U0008 = new SwiftTagChoiceDefinition("Choice", "");
      MT537.U0008.Mandatory = false;
      MT537.U0008.Multiple = true;
      MT537.U000E = new SwiftTagDefinition("NumberIdentification_A_13A", "Statement Number");
      MT537.U000E.TagName = ":13A::";
      MT537.U000F = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT537.U000E.Elements.Add((SwiftDefinitionElement) MT537.U000F);
      MT537.U0010 = new SwiftTagSubItemDefinition("NumberId", "Number Id");
      MT537.U000E.Elements.Add((SwiftDefinitionElement) MT537.U0010);
      MT537.U0008.Elements.Add((SwiftDefinitionElement) MT537.U000E);
      MT537.U0011 = new SwiftTagDefinition("NumberIdentification_A_13J", "Statement Number");
      MT537.U0011.TagName = ":13J::";
      MT537.U0012 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT537.U0011.Elements.Add((SwiftDefinitionElement) MT537.U0012);
      MT537.U0013 = new SwiftTagSubItemDefinition("ExtendedNumberId", "Extended Number Id");
      MT537.U0011.Elements.Add((SwiftDefinitionElement) MT537.U0013);
      MT537.U0008.Elements.Add((SwiftDefinitionElement) MT537.U0011);
      MT537.U0002.Elements.Add((SwiftDefinitionElement) MT537.U0008);
      MT537.U0014 = new SwiftTagDefinition("Reference_A_20C", "Sender’s Reference");
      MT537.U0014.TagName = ":20C::";
      MT537.U0015 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT537.U0014.Elements.Add((SwiftDefinitionElement) MT537.U0015);
      MT537.U0016 = new SwiftTagSubItemDefinition("Reference", "Reference");
      MT537.U0014.Elements.Add((SwiftDefinitionElement) MT537.U0016);
      MT537.U0002.Elements.Add((SwiftDefinitionElement) MT537.U0014);
      MT537.U0017 = new SwiftTagDefinition("FunctionOfTheMessage_A_23G", "Function of the Message");
      MT537.U0017.TagName = ":23G:";
      MT537.U0018 = new SwiftTagSubItemDefinition("Function", "Function");
      MT537.U0017.Elements.Add((SwiftDefinitionElement) MT537.U0018);
      MT537.U0019 = new SwiftTagSubItemDefinition("Subfunction", "Subfunction");
      MT537.U0019.Mandatory = false;
      MT537.U001A = new SwiftTagSubItemDefinition("Subfunction_1", "Sub Function");
      MT537.U0019.Elements.Add((SwiftDefinitionElement) MT537.U001A);
      MT537.U0017.Elements.Add((SwiftDefinitionElement) MT537.U0019);
      MT537.U0002.Elements.Add((SwiftDefinitionElement) MT537.U0017);
      MT537.U001B = new SwiftTagChoiceDefinition("Choice", "");
      MT537.U001B.Multiple = true;
      MT537.U001C = new SwiftTagDefinition("Date_A_98A", "Date");
      MT537.U001C.TagName = ":98A::";
      MT537.U001C.Multiple = true;
      MT537.U001D = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT537.U001C.Elements.Add((SwiftDefinitionElement) MT537.U001D);
      MT537.U001E = new SwiftTagSubItemDefinition("Date", "Date");
      MT537.U001C.Elements.Add((SwiftDefinitionElement) MT537.U001E);
      MT537.U001B.Elements.Add((SwiftDefinitionElement) MT537.U001C);
      MT537.U001F = new SwiftTagDefinition("DateTime_A_98C", "Date/Time");
      MT537.U001F.TagName = ":98C::";
      MT537.U001F.Multiple = true;
      MT537.U007F = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT537.U001F.Elements.Add((SwiftDefinitionElement) MT537.U007F);
      MT537.U0080 = new SwiftTagSubItemDefinition("DateTime", "Date/Time");
      MT537.U0081 = new SwiftTagSubItemDefinition("Date", "Date");
      MT537.U0080.Elements.Add((SwiftDefinitionElement) MT537.U0081);
      MT537.U0082 = new SwiftTagSubItemDefinition("Time", "Time");
      MT537.U0080.Elements.Add((SwiftDefinitionElement) MT537.U0082);
      MT537.U001F.Elements.Add((SwiftDefinitionElement) MT537.U0080);
      MT537.U001B.Elements.Add((SwiftDefinitionElement) MT537.U001F);
      MT537.U0083 = new SwiftTagDefinition("DateTime_A_98E", "Trade Date/Time");
      MT537.U0083.TagName = ":98E::";
      MT537.U0083.Multiple = true;
      MT537.U0084 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT537.U0083.Elements.Add((SwiftDefinitionElement) MT537.U0084);
      MT537.U0086 = new SwiftTagSubItemDefinition("DateTimeDecimalsAndUTCIndicator", "Trade Date/Time");
      MT537.U0087 = new SwiftTagSubItemDefinition("DateTimeDecimals", "Trade Date/Time");
      MT537.U0088 = new SwiftTagSubItemDefinition("DateTime", "Date\\Time");
      MT537.U0089 = new SwiftTagSubItemDefinition("Date", "Date");
      MT537.U0088.Elements.Add((SwiftDefinitionElement) MT537.U0089);
      MT537.U008A = new SwiftTagSubItemDefinition("Time", "Time");
      MT537.U0088.Elements.Add((SwiftDefinitionElement) MT537.U008A);
      MT537.U0087.Elements.Add((SwiftDefinitionElement) MT537.U0088);
      MT537.U008B = new SwiftTagSubItemDefinition("Decimals", "Time");
      MT537.U008B.Mandatory = false;
      MT537.U0087.Elements.Add((SwiftDefinitionElement) MT537.U008B);
      MT537.U0086.Elements.Add((SwiftDefinitionElement) MT537.U0087);
      MT537.U008C = new SwiftTagSubItemDefinition("UTCIndicatorRecord", "Date\\Time");
      MT537.U008C.Mandatory = false;
      MT537.U008D = new SwiftTagSubItemDefinition("UTCIndicator", "Indicator");
      MT537.U008C.Elements.Add((SwiftDefinitionElement) MT537.U008D);
      MT537.U0086.Elements.Add((SwiftDefinitionElement) MT537.U008C);
      MT537.U0083.Elements.Add((SwiftDefinitionElement) MT537.U0086);
      MT537.U001B.Elements.Add((SwiftDefinitionElement) MT537.U0083);
      MT537.U0002.Elements.Add((SwiftDefinitionElement) MT537.U001B);
      MT537.U008E = new SwiftTagChoiceDefinition("Choice", "");
      MT537.U008E.Multiple = true;
      MT537.U008F = new SwiftTagDefinition("Indicator_A_22H", "Indicator");
      MT537.U008F.TagName = ":22H::";
      MT537.U008F.Multiple = true;
      MT537.U0090 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT537.U008F.Elements.Add((SwiftDefinitionElement) MT537.U0090);
      MT537.U0091 = new SwiftTagSubItemDefinition("Indicator", "Indicator");
      MT537.U008F.Elements.Add((SwiftDefinitionElement) MT537.U0091);
      MT537.U008E.Elements.Add((SwiftDefinitionElement) MT537.U008F);
      MT537.U0092 = new SwiftTagDefinition("Indicator_A_22F", "Indicator");
      MT537.U0092.TagName = ":22F::";
      MT537.U0092.Multiple = true;
      MT537.U0093 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT537.U0092.Elements.Add((SwiftDefinitionElement) MT537.U0093);
      MT537.U0094 = new SwiftTagSubItemDefinition("DataSource", "Data Source Scheme");
      MT537.U0092.Elements.Add((SwiftDefinitionElement) MT537.U0094);
      MT537.U0095 = new SwiftTagSubItemDefinition("Indicator", "Indicator");
      MT537.U0092.Elements.Add((SwiftDefinitionElement) MT537.U0095);
      MT537.U008E.Elements.Add((SwiftDefinitionElement) MT537.U0092);
      MT537.U0002.Elements.Add((SwiftDefinitionElement) MT537.U008E);
      MT537.U0096 = new SwiftTagSequenceDefinition("SequenceA1", "Linkages");
      MT537.U0096.Mandatory = false;
      MT537.U0096.Multiple = true;
      MT537.U0097 = new SwiftTagDefinition("StartOfBlock_A1_16R", "Start of Block");
      MT537.U0097.TagName = ":16R:LINK";
      MT537.U0098 = new SwiftTagSubItemDefinition("StartOfBlock", "Start of Block ");
      MT537.U0098.Mandatory = false;
      MT537.U0097.Elements.Add((SwiftDefinitionElement) MT537.U0098);
      MT537.U0096.Elements.Add((SwiftDefinitionElement) MT537.U0097);
      MT537.U0099 = new SwiftTagChoiceDefinition("Choice", "");
      MT537.U0099.Mandatory = false;
      MT537.U0099.Multiple = true;
      MT537.U009A = new SwiftTagDefinition("NumberIdentification_A1_13B", "Linked Message");
      MT537.U009A.TagName = ":13B::";
      MT537.U009B = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT537.U009A.Elements.Add((SwiftDefinitionElement) MT537.U009B);
      MT537.U009C = new SwiftTagSubItemDefinition("DataSource", "Data Source");
      MT537.U009A.Elements.Add((SwiftDefinitionElement) MT537.U009C);
      MT537.U009D = new SwiftTagSubItemDefinition("Number_13B", "");
      MT537.U009A.Elements.Add((SwiftDefinitionElement) MT537.U009D);
      MT537.U0099.Elements.Add((SwiftDefinitionElement) MT537.U009A);
      MT537.U009E = new SwiftTagDefinition("NumberIdentification_A1_13A", "Linked Transaction");
      MT537.U009E.TagName = ":13A::";
      MT537.U009F = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT537.U009E.Elements.Add((SwiftDefinitionElement) MT537.U009F);
      MT537.U0001U0002 = new SwiftTagSubItemDefinition("NumberId", "Number Indentification");
      MT537.U009E.Elements.Add((SwiftDefinitionElement) MT537.U0001U0002);
      MT537.U0099.Elements.Add((SwiftDefinitionElement) MT537.U009E);
      MT537.U0096.Elements.Add((SwiftDefinitionElement) MT537.U0099);
      MT537.U0002U0002 = new SwiftTagDefinition("Reference_A1_20C", "Reference");
      MT537.U0002U0002.TagName = ":20C::";
      MT537.U0003U0002 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT537.U0002U0002.Elements.Add((SwiftDefinitionElement) MT537.U0003U0002);
      MT537.U0004U0002 = new SwiftTagSubItemDefinition("Reference", "Reference");
      MT537.U0002U0002.Elements.Add((SwiftDefinitionElement) MT537.U0004U0002);
      MT537.U0096.Elements.Add((SwiftDefinitionElement) MT537.U0002U0002);
      MT537.U0005U0002 = new SwiftTagDefinition("EndOfBlock_A1_16S", "End of Block");
      MT537.U0005U0002.TagName = ":16S:LINK";
      MT537.U0006U0002 = new SwiftTagSubItemDefinition("EndOfBlock", "End of Block");
      MT537.U0006U0002.Mandatory = false;
      MT537.U0005U0002.Elements.Add((SwiftDefinitionElement) MT537.U0006U0002);
      MT537.U0096.Elements.Add((SwiftDefinitionElement) MT537.U0005U0002);
      MT537.U0002.Elements.Add((SwiftDefinitionElement) MT537.U0096);
      MT537.U0007U0002 = new SwiftTagChoiceDefinition("Choice", "");
      MT537.U0007U0002.Mandatory = false;
      MT537.U0007U0002.Multiple = true;
      MT537.U0008U0002 = new SwiftTagDefinition("Party_A_95P", "Account Owner");
      MT537.U0008U0002.TagName = ":95P::";
      MT537.U000EU0002 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT537.U0008U0002.Elements.Add((SwiftDefinitionElement) MT537.U000EU0002);
      MT537.U000FU0002 = new SwiftTagSubItemDefinition("BankIdentifier", "Bank Identifier Code");
      MT537.U0008U0002.Elements.Add((SwiftDefinitionElement) MT537.U000FU0002);
      MT537.U0007U0002.Elements.Add((SwiftDefinitionElement) MT537.U0008U0002);
      MT537.U0010U0002 = new SwiftTagDefinition("Party_A_95R", "Account Owner");
      MT537.U0010U0002.TagName = ":95R::";
      MT537.U0011U0002 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT537.U0010U0002.Elements.Add((SwiftDefinitionElement) MT537.U0011U0002);
      MT537.U0012U0002 = new SwiftTagSubItemDefinition("DataSourceSchemeType", "Data Source Scheme with a maximum of 8 characters");
      MT537.U0010U0002.Elements.Add((SwiftDefinitionElement) MT537.U0012U0002);
      MT537.U0013U0002 = new SwiftTagSubItemDefinition("ProprietaryCodeType", "Proprietary Code Type");
      MT537.U0010U0002.Elements.Add((SwiftDefinitionElement) MT537.U0013U0002);
      MT537.U0007U0002.Elements.Add((SwiftDefinitionElement) MT537.U0010U0002);
      MT537.U0002.Elements.Add((SwiftDefinitionElement) MT537.U0007U0002);
      MT537.U0014U0002 = new SwiftTagChoiceDefinition("Choice", "");
      MT537.U0014U0002.Multiple = true;
      MT537.U0015U0002 = new SwiftTagDefinition("Account_A_97A", "Safekeeping Account");
      MT537.U0015U0002.TagName = ":97A::";
      MT537.U0016U0002 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT537.U0015U0002.Elements.Add((SwiftDefinitionElement) MT537.U0016U0002);
      MT537.U0017U0002 = new SwiftTagSubItemDefinition("AccountNumber", "Account Number");
      MT537.U0015U0002.Elements.Add((SwiftDefinitionElement) MT537.U0017U0002);
      MT537.U0014U0002.Elements.Add((SwiftDefinitionElement) MT537.U0015U0002);
      MT537.U0018U0002 = new SwiftTagDefinition("Account_A_97B", "Safekeeping Account");
      MT537.U0018U0002.TagName = ":97B::";
      MT537.U0019U0002 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT537.U0018U0002.Elements.Add((SwiftDefinitionElement) MT537.U0019U0002);
      MT537.U001AU0002 = new SwiftTagSubItemDefinition("DataSource", "Data Source Scheme");
      MT537.U0018U0002.Elements.Add((SwiftDefinitionElement) MT537.U001AU0002);
      MT537.U001BU0002 = new SwiftTagSubItemDefinition("AccountTypeCode", "Account Type Code");
      MT537.U0018U0002.Elements.Add((SwiftDefinitionElement) MT537.U001BU0002);
      MT537.U001CU0002 = new SwiftTagSubItemDefinition("AccountNumber", "Account Number");
      MT537.U0018U0002.Elements.Add((SwiftDefinitionElement) MT537.U001CU0002);
      MT537.U0014U0002.Elements.Add((SwiftDefinitionElement) MT537.U0018U0002);
      MT537.U0002.Elements.Add((SwiftDefinitionElement) MT537.U0014U0002);
      MT537.U001DU0002 = new SwiftTagDefinition("Flag_A_17B", "Activity Flag");
      MT537.U001DU0002.TagName = ":17B::";
      MT537.U001EU0002 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT537.U001DU0002.Elements.Add((SwiftDefinitionElement) MT537.U001EU0002);
      MT537.U001FU0002 = new SwiftTagSubItemDefinition("Flag", "Flag");
      MT537.U001DU0002.Elements.Add((SwiftDefinitionElement) MT537.U001FU0002);
      MT537.U0002.Elements.Add((SwiftDefinitionElement) MT537.U001DU0002);
      MT537.U007FU0002 = new SwiftTagDefinition("EndOfBlock_A_16S", "End of Block");
      MT537.U007FU0002.TagName = ":16S:GENL";
      MT537.U0080U0002 = new SwiftTagSubItemDefinition("EndOfBlock", "End of Block");
      MT537.U0080U0002.Mandatory = false;
      MT537.U007FU0002.Elements.Add((SwiftDefinitionElement) MT537.U0080U0002);
      MT537.U0002.Elements.Add((SwiftDefinitionElement) MT537.U007FU0002);
      MT537.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT537.U0002);
      MT537.U0081U0002 = new SwiftTagSequenceDefinition("SequenceB", "Status");
      MT537.U0081U0002.Mandatory = false;
      MT537.U0081U0002.Multiple = true;
      MT537.U0082U0002 = new SwiftTagDefinition("StartOfBlock_B_16R", "Start of Block");
      MT537.U0082U0002.TagName = ":16R:STAT";
      MT537.U0083U0002 = new SwiftTagSubItemDefinition("StartOfBlock", "Start of Block ");
      MT537.U0083U0002.Mandatory = false;
      MT537.U0082U0002.Elements.Add((SwiftDefinitionElement) MT537.U0083U0002);
      MT537.U0081U0002.Elements.Add((SwiftDefinitionElement) MT537.U0082U0002);
      MT537.U0084U0002 = new SwiftTagDefinition("Status_B_25D", "Status");
      MT537.U0084U0002.TagName = ":25D::";
      MT537.U0086U0002 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT537.U0084U0002.Elements.Add((SwiftDefinitionElement) MT537.U0086U0002);
      MT537.U0087U0002 = new SwiftTagSubItemDefinition("DataSource", "Data Source Scheme");
      MT537.U0084U0002.Elements.Add((SwiftDefinitionElement) MT537.U0087U0002);
      MT537.U0088U0002 = new SwiftTagSubItemDefinition("StatusCode", "Status Code");
      MT537.U0084U0002.Elements.Add((SwiftDefinitionElement) MT537.U0088U0002);
      MT537.U0081U0002.Elements.Add((SwiftDefinitionElement) MT537.U0084U0002);
      MT537.U0089U0002 = new SwiftTagSequenceDefinition("SequenceB1", "Reason");
      MT537.U0089U0002.Mandatory = false;
      MT537.U0089U0002.Multiple = true;
      MT537.U008AU0002 = new SwiftTagDefinition("StartOfBlock_B1_16R", "Start of Block");
      MT537.U008AU0002.TagName = ":16R:REAS";
      MT537.U008BU0002 = new SwiftTagSubItemDefinition("StartOfBlock", "Start of Block ");
      MT537.U008BU0002.Mandatory = false;
      MT537.U008AU0002.Elements.Add((SwiftDefinitionElement) MT537.U008BU0002);
      MT537.U0089U0002.Elements.Add((SwiftDefinitionElement) MT537.U008AU0002);
      MT537.U008CU0002 = new SwiftTagDefinition("Reason_B1_24B", "Reason");
      MT537.U008CU0002.TagName = ":24B::";
      MT537.U008DU0002 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT537.U008CU0002.Elements.Add((SwiftDefinitionElement) MT537.U008DU0002);
      MT537.U008EU0002 = new SwiftTagSubItemDefinition("DataSource", "Data Source Scheme");
      MT537.U008CU0002.Elements.Add((SwiftDefinitionElement) MT537.U008EU0002);
      MT537.U008FU0002 = new SwiftTagSubItemDefinition("ReasonCode", "Reason Code");
      MT537.U008CU0002.Elements.Add((SwiftDefinitionElement) MT537.U008FU0002);
      MT537.U0089U0002.Elements.Add((SwiftDefinitionElement) MT537.U008CU0002);
      MT537.U0090U0002 = new SwiftTagDefinition("Narrative_B1_70D", "Reason Narrative");
      MT537.U0090U0002.TagName = ":70D::";
      MT537.U0090U0002.Mandatory = false;
      MT537.U0091U0002 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT537.U0090U0002.Elements.Add((SwiftDefinitionElement) MT537.U0091U0002);
      MT537.U0092U0002 = new SwiftTagSubItemDefinition("Narrative", "Narrative");
      MT537.U0090U0002.Elements.Add((SwiftDefinitionElement) MT537.U0092U0002);
      MT537.U0089U0002.Elements.Add((SwiftDefinitionElement) MT537.U0090U0002);
      MT537.U0093U0002 = new SwiftTagDefinition("EndOfBlock_B1_16S", "End of Block");
      MT537.U0093U0002.TagName = ":16S:REAS";
      MT537.U0094U0002 = new SwiftTagSubItemDefinition("EndOfBlock", "End of Block");
      MT537.U0094U0002.Mandatory = false;
      MT537.U0093U0002.Elements.Add((SwiftDefinitionElement) MT537.U0094U0002);
      MT537.U0089U0002.Elements.Add((SwiftDefinitionElement) MT537.U0093U0002);
      MT537.U0081U0002.Elements.Add((SwiftDefinitionElement) MT537.U0089U0002);
      MT537.U0095U0002 = new SwiftTagSequenceDefinition("SequenceB2", "Transaction");
      MT537.U0095U0002.Multiple = true;
      MT537.U0096U0002 = new SwiftTagDefinition("StartOfBlock_B2_16R", "Start of Block");
      MT537.U0096U0002.TagName = ":16R:TRAN";
      MT537.U0097U0002 = new SwiftTagSubItemDefinition("StartOfBlock", "Start of Block ");
      MT537.U0097U0002.Mandatory = false;
      MT537.U0096U0002.Elements.Add((SwiftDefinitionElement) MT537.U0097U0002);
      MT537.U0095U0002.Elements.Add((SwiftDefinitionElement) MT537.U0096U0002);
      MT537.U0098U0002 = new SwiftTagSequenceDefinition("SequenceB2a", "Linkages");
      MT537.U0098U0002.Multiple = true;
      MT537.U0099U0002 = new SwiftTagDefinition("StartOfBlock_B2a_16R", "Start of Block");
      MT537.U0099U0002.TagName = ":16R:LINK";
      MT537.U009AU0002 = new SwiftTagSubItemDefinition("StartOfBlock", "Start of Block ");
      MT537.U009AU0002.Mandatory = false;
      MT537.U0099U0002.Elements.Add((SwiftDefinitionElement) MT537.U009AU0002);
      MT537.U0098U0002.Elements.Add((SwiftDefinitionElement) MT537.U0099U0002);
      MT537.U009BU0002 = new SwiftTagChoiceDefinition("Choice", "");
      MT537.U009BU0002.Mandatory = false;
      MT537.U009BU0002.Multiple = true;
      MT537.U009CU0002 = new SwiftTagDefinition("NumberIdentification_B2a_13B", "Linked Message");
      MT537.U009CU0002.TagName = ":13B::";
      MT537.U009DU0002 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT537.U009CU0002.Elements.Add((SwiftDefinitionElement) MT537.U009DU0002);
      MT537.U009EU0002 = new SwiftTagSubItemDefinition("DataSource", "Data Source");
      MT537.U009CU0002.Elements.Add((SwiftDefinitionElement) MT537.U009EU0002);
      MT537.U009FU0002 = new SwiftTagSubItemDefinition("Number_13B", "");
      MT537.U009CU0002.Elements.Add((SwiftDefinitionElement) MT537.U009FU0002);
      MT537.U009BU0002.Elements.Add((SwiftDefinitionElement) MT537.U009CU0002);
      MT537.U0001U0003 = new SwiftTagDefinition("NumberIdentification_B2a_13A", "Linked Transaction");
      MT537.U0001U0003.TagName = ":13A::";
      MT537.U0002U0003 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT537.U0001U0003.Elements.Add((SwiftDefinitionElement) MT537.U0002U0003);
      MT537.U0003U0003 = new SwiftTagSubItemDefinition("NumberId", "Number Id");
      MT537.U0001U0003.Elements.Add((SwiftDefinitionElement) MT537.U0003U0003);
      MT537.U009BU0002.Elements.Add((SwiftDefinitionElement) MT537.U0001U0003);
      MT537.U0098U0002.Elements.Add((SwiftDefinitionElement) MT537.U009BU0002);
      MT537.U0004U0003 = new SwiftTagDefinition("Reference_B2a_20C", "Reference");
      MT537.U0004U0003.TagName = ":20C::";
      MT537.U0005U0003 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT537.U0004U0003.Elements.Add((SwiftDefinitionElement) MT537.U0005U0003);
      MT537.U0006U0003 = new SwiftTagSubItemDefinition("Reference", "Reference");
      MT537.U0004U0003.Elements.Add((SwiftDefinitionElement) MT537.U0006U0003);
      MT537.U0098U0002.Elements.Add((SwiftDefinitionElement) MT537.U0004U0003);
      MT537.U0007U0003 = new SwiftTagDefinition("EndOfBlock_B2a_16S", "End of Block");
      MT537.U0007U0003.TagName = ":16S:LINK";
      MT537.U0008U0003 = new SwiftTagSubItemDefinition("EndOfBlock", "End of Block");
      MT537.U0008U0003.Mandatory = false;
      MT537.U0007U0003.Elements.Add((SwiftDefinitionElement) MT537.U0008U0003);
      MT537.U0098U0002.Elements.Add((SwiftDefinitionElement) MT537.U0007U0003);
      MT537.U0095U0002.Elements.Add((SwiftDefinitionElement) MT537.U0098U0002);
      MT537.U000EU0003 = new SwiftTagSequenceDefinition("SequenceB2b", "Transaction Details");
      MT537.U000EU0003.Mandatory = false;
      MT537.U000FU0003 = new SwiftTagDefinition("StartOfBlock_B2b_16R", "Start of Block");
      MT537.U000FU0003.TagName = ":16R:TRANSDET";
      MT537.U0010U0003 = new SwiftTagSubItemDefinition("StartOfBlock", "Start of Block ");
      MT537.U0010U0003.Mandatory = false;
      MT537.U000FU0003.Elements.Add((SwiftDefinitionElement) MT537.U0010U0003);
      MT537.U000EU0003.Elements.Add((SwiftDefinitionElement) MT537.U000FU0003);
      MT537.U0011U0003 = new SwiftTagChoiceDefinition("Choice", "");
      MT537.U0011U0003.Mandatory = false;
      MT537.U0011U0003.Multiple = true;
      MT537.U0012U0003 = new SwiftTagDefinition("Place_B2b_94C", "Place");
      MT537.U0012U0003.TagName = ":94C::";
      MT537.U0012U0003.Multiple = true;
      MT537.U0013U0003 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT537.U0012U0003.Elements.Add((SwiftDefinitionElement) MT537.U0013U0003);
      MT537.U0014U0003 = new SwiftTagSubItemDefinition("CountryCode", "Country Code");
      MT537.U0012U0003.Elements.Add((SwiftDefinitionElement) MT537.U0014U0003);
      MT537.U0011U0003.Elements.Add((SwiftDefinitionElement) MT537.U0012U0003);
      MT537.U0015U0003 = new SwiftTagDefinition("Place_B2b_94B", "Place");
      MT537.U0015U0003.TagName = ":94B::";
      MT537.U0015U0003.Multiple = true;
      MT537.U0016U0003 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT537.U0015U0003.Elements.Add((SwiftDefinitionElement) MT537.U0016U0003);
      MT537.U0017U0003 = new SwiftTagSubItemDefinition("DataSource", "Data Source Scheme");
      MT537.U0015U0003.Elements.Add((SwiftDefinitionElement) MT537.U0017U0003);
      MT537.U0018U0003 = new SwiftTagSubItemDefinition("PlaceCode", "Place Code");
      MT537.U0015U0003.Elements.Add((SwiftDefinitionElement) MT537.U0018U0003);
      MT537.U0019U0003 = new SwiftTagSubItemDefinition("Narrative_94B", "Narrative");
      MT537.U0019U0003.Mandatory = false;
      MT537.U0015U0003.Elements.Add((SwiftDefinitionElement) MT537.U0019U0003);
      MT537.U0011U0003.Elements.Add((SwiftDefinitionElement) MT537.U0015U0003);
      MT537.U001AU0003 = new SwiftTagDefinition("Place_B2b_94F", "Place");
      MT537.U001AU0003.TagName = ":94F::";
      MT537.U001AU0003.Multiple = true;
      MT537.U001BU0003 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT537.U001AU0003.Elements.Add((SwiftDefinitionElement) MT537.U001BU0003);
      MT537.U001CU0003 = new SwiftTagSubItemDefinition("Place", "Place");
      MT537.U001DU0003 = new SwiftTagSubItemDefinition("Place_1", "Place");
      MT537.U001CU0003.Elements.Add((SwiftDefinitionElement) MT537.U001DU0003);
      MT537.U001EU0003 = new SwiftTagSubItemDefinition("BankIdentifierCode", "Bank Identifier Code");
      MT537.U001CU0003.Elements.Add((SwiftDefinitionElement) MT537.U001EU0003);
      MT537.U001AU0003.Elements.Add((SwiftDefinitionElement) MT537.U001CU0003);
      MT537.U0011U0003.Elements.Add((SwiftDefinitionElement) MT537.U001AU0003);
      MT537.U001FU0003 = new SwiftTagDefinition("Place_B2b_94H", "Place of Clearing");
      MT537.U001FU0003.TagName = ":94H::";
      MT537.U001FU0003.Multiple = true;
      MT537.U007FU0003 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT537.U001FU0003.Elements.Add((SwiftDefinitionElement) MT537.U007FU0003);
      MT537.U0080U0003 = new SwiftTagSubItemDefinition("BankIdentifierCode", "Bank Identifier Code");
      MT537.U001FU0003.Elements.Add((SwiftDefinitionElement) MT537.U0080U0003);
      MT537.U0011U0003.Elements.Add((SwiftDefinitionElement) MT537.U001FU0003);
      MT537.U000EU0003.Elements.Add((SwiftDefinitionElement) MT537.U0011U0003);
      MT537.U0081U0003 = new SwiftTagDefinition("IdentificationOfFinancialInstrument_B2b_35B", "Identification of the Financial Instrument");
      MT537.U0081U0003.TagName = ":35B:";
      MT537.U0082U0003 = new SwiftTagSubItemDefinition("IdentificationOfSecurity", "Identification of Security");
      MT537.U0082U0003.Mandatory = false;
      MT537.U0083U0003 = new SwiftTagSubItemDefinition("IdentificationOfSecurity_1", "Identification of Security");
      MT537.U0082U0003.Elements.Add((SwiftDefinitionElement) MT537.U0083U0003);
      MT537.U0081U0003.Elements.Add((SwiftDefinitionElement) MT537.U0082U0003);
      MT537.U0084U0003 = new SwiftTagSubItemDefinition("DescriptionOfSecurity", "Description of Security");
      MT537.U0084U0003.Mandatory = false;
      MT537.U0081U0003.Elements.Add((SwiftDefinitionElement) MT537.U0084U0003);
      MT537.U000EU0003.Elements.Add((SwiftDefinitionElement) MT537.U0081U0003);
      MT537.U0086U0003 = new SwiftTagDefinition("QuantityOfFinancialInstrument_B2b_36B", "Posting Quantity");
      MT537.U0086U0003.TagName = ":36B::";
      MT537.U0086U0003.Multiple = true;
      MT537.U0087U0003 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT537.U0086U0003.Elements.Add((SwiftDefinitionElement) MT537.U0087U0003);
      MT537.U0088U0003 = new SwiftTagSubItemDefinition("QuantityOfFinancialInstrument", "Quantity of Financial Instrument");
      MT537.U0089U0003 = new SwiftTagSubItemDefinition("QuantityTypeCode", "Quantity Type Code");
      MT537.U0088U0003.Elements.Add((SwiftDefinitionElement) MT537.U0089U0003);
      MT537.U008AU0003 = new SwiftTagSubItemDefinition("Quantity", "Quantity");
      MT537.U0088U0003.Elements.Add((SwiftDefinitionElement) MT537.U008AU0003);
      MT537.U0086U0003.Elements.Add((SwiftDefinitionElement) MT537.U0088U0003);
      MT537.U000EU0003.Elements.Add((SwiftDefinitionElement) MT537.U0086U0003);
      MT537.U008BU0003 = new SwiftTagDefinition("Amount_B2b_19A", "Amount");
      MT537.U008BU0003.TagName = ":19A::";
      MT537.U008BU0003.Mandatory = false;
      MT537.U008BU0003.Multiple = true;
      MT537.U008CU0003 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT537.U008BU0003.Elements.Add((SwiftDefinitionElement) MT537.U008CU0003);
      MT537.U008DU0003 = new SwiftTagSubItemDefinition("SignCodeAmount", "Sign, Currency Code and Amount");
      MT537.U008BU0003.Elements.Add((SwiftDefinitionElement) MT537.U008DU0003);
      MT537.U000EU0003.Elements.Add((SwiftDefinitionElement) MT537.U008BU0003);
      MT537.U008EU0003 = new SwiftTagChoiceDefinition("Choice", "");
      MT537.U008EU0003.Multiple = true;
      MT537.U008FU0003 = new SwiftTagDefinition("Indicator_B2b_22H", "Indicator");
      MT537.U008FU0003.TagName = ":22H::";
      MT537.U008FU0003.Multiple = true;
      MT537.U0090U0003 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT537.U008FU0003.Elements.Add((SwiftDefinitionElement) MT537.U0090U0003);
      MT537.U0091U0003 = new SwiftTagSubItemDefinition("Indicator", "Indicator");
      MT537.U008FU0003.Elements.Add((SwiftDefinitionElement) MT537.U0091U0003);
      MT537.U008EU0003.Elements.Add((SwiftDefinitionElement) MT537.U008FU0003);
      MT537.U0092U0003 = new SwiftTagDefinition("Indicator_B2b_22F", "Indicator");
      MT537.U0092U0003.TagName = ":22F::";
      MT537.U0092U0003.Multiple = true;
      MT537.U0093U0003 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT537.U0092U0003.Elements.Add((SwiftDefinitionElement) MT537.U0093U0003);
      MT537.U0094U0003 = new SwiftTagSubItemDefinition("DataSource", "Data Source Scheme");
      MT537.U0092U0003.Elements.Add((SwiftDefinitionElement) MT537.U0094U0003);
      MT537.U0095U0003 = new SwiftTagSubItemDefinition("Indicator", "Indicator");
      MT537.U0092U0003.Elements.Add((SwiftDefinitionElement) MT537.U0095U0003);
      MT537.U008EU0003.Elements.Add((SwiftDefinitionElement) MT537.U0092U0003);
      MT537.U000EU0003.Elements.Add((SwiftDefinitionElement) MT537.U008EU0003);
      MT537.U0096U0003 = new SwiftTagChoiceDefinition("Choice", "");
      MT537.U0096U0003.Multiple = true;
      MT537.U0097U0003 = new SwiftTagDefinition("Date_B2b_98A", "Date");
      MT537.U0097U0003.TagName = ":98A::";
      MT537.U0097U0003.Multiple = true;
      MT537.U0098U0003 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT537.U0097U0003.Elements.Add((SwiftDefinitionElement) MT537.U0098U0003);
      MT537.U0099U0003 = new SwiftTagSubItemDefinition("Date", "Date");
      MT537.U0097U0003.Elements.Add((SwiftDefinitionElement) MT537.U0099U0003);
      MT537.U0096U0003.Elements.Add((SwiftDefinitionElement) MT537.U0097U0003);
      MT537.U009AU0003 = new SwiftTagDefinition("DateTime_B2b_98C", "Date/Time");
      MT537.U009AU0003.TagName = ":98C::";
      MT537.U009AU0003.Multiple = true;
      MT537.U009BU0003 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT537.U009AU0003.Elements.Add((SwiftDefinitionElement) MT537.U009BU0003);
      MT537.U009CU0003 = new SwiftTagSubItemDefinition("DateTime", "Date/Time");
      MT537.U009DU0003 = new SwiftTagSubItemDefinition("Date", "Date");
      MT537.U009CU0003.Elements.Add((SwiftDefinitionElement) MT537.U009DU0003);
      MT537.U009EU0003 = new SwiftTagSubItemDefinition("Time", "Time");
      MT537.U009CU0003.Elements.Add((SwiftDefinitionElement) MT537.U009EU0003);
      MT537.U009AU0003.Elements.Add((SwiftDefinitionElement) MT537.U009CU0003);
      MT537.U0096U0003.Elements.Add((SwiftDefinitionElement) MT537.U009AU0003);
      MT537.U009FU0003 = new SwiftTagDefinition("DateCode_B2b_98B", "Date Code");
      MT537.U009FU0003.TagName = ":98B::";
      MT537.U009FU0003.Multiple = true;
      MT537.U0001U0004 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT537.U009FU0003.Elements.Add((SwiftDefinitionElement) MT537.U0001U0004);
      MT537.U0002U0004 = new SwiftTagSubItemDefinition("DataSource", "Data Source Scheme");
      MT537.U009FU0003.Elements.Add((SwiftDefinitionElement) MT537.U0002U0004);
      MT537.U0003U0004 = new SwiftTagSubItemDefinition("DateCode", "Date Code");
      MT537.U009FU0003.Elements.Add((SwiftDefinitionElement) MT537.U0003U0004);
      MT537.U0096U0003.Elements.Add((SwiftDefinitionElement) MT537.U009FU0003);
      MT537.U000EU0003.Elements.Add((SwiftDefinitionElement) MT537.U0096U0003);
      MT537.U0004U0004 = new SwiftTagDefinition("Narrative_B2b_70E", "Transaction Details Narrative");
      MT537.U0004U0004.TagName = ":70E::";
      MT537.U0004U0004.Mandatory = false;
      MT537.U0005U0004 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT537.U0004U0004.Elements.Add((SwiftDefinitionElement) MT537.U0005U0004);
      MT537.U0006U0004 = new SwiftTagSubItemDefinition("Narrative", "Narrative");
      MT537.U0004U0004.Elements.Add((SwiftDefinitionElement) MT537.U0006U0004);
      MT537.U000EU0003.Elements.Add((SwiftDefinitionElement) MT537.U0004U0004);
      MT537.U0007U0004 = new SwiftTagSequenceDefinition("SequenceB2b1", "Settlement Parties");
      MT537.U0007U0004.Mandatory = false;
      MT537.U0007U0004.Multiple = true;
      MT537.U0008U0004 = new SwiftTagDefinition("StartOfBlock_B2b1_16R", "Start of Block");
      MT537.U0008U0004.TagName = ":16R:SETPRTY";
      MT537.U000EU0004 = new SwiftTagSubItemDefinition("StartOfBlock", "Start of Block ");
      MT537.U000EU0004.Mandatory = false;
      MT537.U0008U0004.Elements.Add((SwiftDefinitionElement) MT537.U000EU0004);
      MT537.U0007U0004.Elements.Add((SwiftDefinitionElement) MT537.U0008U0004);
      MT537.U000FU0004 = new SwiftTagChoiceDefinition("Choice", "");
      MT537.U000FU0004.Multiple = true;
      MT537.U0010U0004 = new SwiftTagDefinition("Party_B2b1_95C", "Party");
      MT537.U0010U0004.TagName = ":95C::";
      MT537.U0011U0004 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT537.U0010U0004.Elements.Add((SwiftDefinitionElement) MT537.U0011U0004);
      MT537.U0012U0004 = new SwiftTagSubItemDefinition("CountryCode", "Country Code");
      MT537.U0010U0004.Elements.Add((SwiftDefinitionElement) MT537.U0012U0004);
      MT537.U000FU0004.Elements.Add((SwiftDefinitionElement) MT537.U0010U0004);
      MT537.U0013U0004 = new SwiftTagDefinition("Party_B2b1_95P", "Party");
      MT537.U0013U0004.TagName = ":95P::";
      MT537.U0014U0004 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT537.U0013U0004.Elements.Add((SwiftDefinitionElement) MT537.U0014U0004);
      MT537.U0015U0004 = new SwiftTagSubItemDefinition("BankIdentifierCode", "Bank Identifier Code");
      MT537.U0013U0004.Elements.Add((SwiftDefinitionElement) MT537.U0015U0004);
      MT537.U000FU0004.Elements.Add((SwiftDefinitionElement) MT537.U0013U0004);
      MT537.U0016U0004 = new SwiftTagDefinition("Party_B2b1_95R", "Party");
      MT537.U0016U0004.TagName = ":95R::";
      MT537.U0017U0004 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT537.U0016U0004.Elements.Add((SwiftDefinitionElement) MT537.U0017U0004);
      MT537.U0018U0004 = new SwiftTagSubItemDefinition("DataSourceScheme", "Data Source Scheme");
      MT537.U0016U0004.Elements.Add((SwiftDefinitionElement) MT537.U0018U0004);
      MT537.U0019U0004 = new SwiftTagSubItemDefinition("ProprietaryCode", "Proprietary Code");
      MT537.U0016U0004.Elements.Add((SwiftDefinitionElement) MT537.U0019U0004);
      MT537.U000FU0004.Elements.Add((SwiftDefinitionElement) MT537.U0016U0004);
      MT537.U001AU0004 = new SwiftTagDefinition("Party_B2b1_95Q", "Party");
      MT537.U001AU0004.TagName = ":95Q::";
      MT537.U001BU0004 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT537.U001AU0004.Elements.Add((SwiftDefinitionElement) MT537.U001BU0004);
      MT537.U001CU0004 = new SwiftTagSubItemDefinition("NameAndAddress_95Q", "Name & Address");
      MT537.U001AU0004.Elements.Add((SwiftDefinitionElement) MT537.U001CU0004);
      MT537.U000FU0004.Elements.Add((SwiftDefinitionElement) MT537.U001AU0004);
      MT537.U0007U0004.Elements.Add((SwiftDefinitionElement) MT537.U000FU0004);
      MT537.U001DU0004 = new SwiftTagChoiceDefinition("Choice", "");
      MT537.U001DU0004.Mandatory = false;
      MT537.U001DU0004.Multiple = true;
      MT537.U001EU0004 = new SwiftTagDefinition("Account_B2b1_97A", "Safekeeping Account");
      MT537.U001EU0004.TagName = ":97A::";
      MT537.U001FU0004 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT537.U001EU0004.Elements.Add((SwiftDefinitionElement) MT537.U001FU0004);
      MT537.U007FU0004 = new SwiftTagSubItemDefinition("AccountNumber", "Account Number");
      MT537.U001EU0004.Elements.Add((SwiftDefinitionElement) MT537.U007FU0004);
      MT537.U001DU0004.Elements.Add((SwiftDefinitionElement) MT537.U001EU0004);
      MT537.U0080U0004 = new SwiftTagDefinition("Account_B2b1_97B", "Safekeeping Account");
      MT537.U0080U0004.TagName = ":97B::";
      MT537.U0081U0004 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT537.U0080U0004.Elements.Add((SwiftDefinitionElement) MT537.U0081U0004);
      MT537.U0082U0004 = new SwiftTagSubItemDefinition("DataSource", "Data Source Scheme");
      MT537.U0080U0004.Elements.Add((SwiftDefinitionElement) MT537.U0082U0004);
      MT537.U0083U0004 = new SwiftTagSubItemDefinition("AccountTypeCode", "Account Type Code");
      MT537.U0080U0004.Elements.Add((SwiftDefinitionElement) MT537.U0083U0004);
      MT537.U0084U0004 = new SwiftTagSubItemDefinition("AccountNumber", "Account Number");
      MT537.U0080U0004.Elements.Add((SwiftDefinitionElement) MT537.U0084U0004);
      MT537.U001DU0004.Elements.Add((SwiftDefinitionElement) MT537.U0080U0004);
      MT537.U0007U0004.Elements.Add((SwiftDefinitionElement) MT537.U001DU0004);
      MT537.U0086U0004 = new SwiftTagDefinition("Reference_B2b1_20C", "Processing Reference");
      MT537.U0086U0004.TagName = ":20C::";
      MT537.U0086U0004.Mandatory = false;
      MT537.U0087U0004 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT537.U0086U0004.Elements.Add((SwiftDefinitionElement) MT537.U0087U0004);
      MT537.U0088U0004 = new SwiftTagSubItemDefinition("Reference", "Reference");
      MT537.U0086U0004.Elements.Add((SwiftDefinitionElement) MT537.U0088U0004);
      MT537.U0007U0004.Elements.Add((SwiftDefinitionElement) MT537.U0086U0004);
      MT537.U0089U0004 = new SwiftTagDefinition("EndOfBlock_B2b1_16S", "End of Block");
      MT537.U0089U0004.TagName = ":16S:SETPRTY";
      MT537.U008AU0004 = new SwiftTagSubItemDefinition("EndOfBlock", "End of Block");
      MT537.U008AU0004.Mandatory = false;
      MT537.U0089U0004.Elements.Add((SwiftDefinitionElement) MT537.U008AU0004);
      MT537.U0007U0004.Elements.Add((SwiftDefinitionElement) MT537.U0089U0004);
      MT537.U000EU0003.Elements.Add((SwiftDefinitionElement) MT537.U0007U0004);
      MT537.U008BU0004 = new SwiftTagDefinition("EndOfBlock_B2b_16S", "End of Block");
      MT537.U008BU0004.TagName = ":16S:TRANSDET";
      MT537.U008CU0004 = new SwiftTagSubItemDefinition("EndOfBlock", "End of Block");
      MT537.U008CU0004.Mandatory = false;
      MT537.U008BU0004.Elements.Add((SwiftDefinitionElement) MT537.U008CU0004);
      MT537.U000EU0003.Elements.Add((SwiftDefinitionElement) MT537.U008BU0004);
      MT537.U0095U0002.Elements.Add((SwiftDefinitionElement) MT537.U000EU0003);
      MT537.U008DU0004 = new SwiftTagDefinition("EndOfBlock_B2_16S", "End of Block");
      MT537.U008DU0004.TagName = ":16S:TRAN";
      MT537.U008EU0004 = new SwiftTagSubItemDefinition("EndOfBlock", "End of Block");
      MT537.U008EU0004.Mandatory = false;
      MT537.U008DU0004.Elements.Add((SwiftDefinitionElement) MT537.U008EU0004);
      MT537.U0095U0002.Elements.Add((SwiftDefinitionElement) MT537.U008DU0004);
      MT537.U0081U0002.Elements.Add((SwiftDefinitionElement) MT537.U0095U0002);
      MT537.U008FU0004 = new SwiftTagDefinition("EndOfBlock_B_16S", "End of Block");
      MT537.U008FU0004.TagName = ":16S:STAT";
      MT537.U0090U0004 = new SwiftTagSubItemDefinition("EndOfBlock", "End of Block");
      MT537.U0090U0004.Mandatory = false;
      MT537.U008FU0004.Elements.Add((SwiftDefinitionElement) MT537.U0090U0004);
      MT537.U0081U0002.Elements.Add((SwiftDefinitionElement) MT537.U008FU0004);
      MT537.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT537.U0081U0002);
      MT537.U0091U0004 = new SwiftTagSequenceDefinition("SequenceC", "Transactions");
      MT537.U0091U0004.Mandatory = false;
      MT537.U0091U0004.Multiple = true;
      MT537.U0092U0004 = new SwiftTagDefinition("StartOfBlock_C_16R", "Start of Block");
      MT537.U0092U0004.TagName = ":16R:TRANS";
      MT537.U0093U0004 = new SwiftTagSubItemDefinition("StartOfBlock", "Start of Block ");
      MT537.U0093U0004.Mandatory = false;
      MT537.U0092U0004.Elements.Add((SwiftDefinitionElement) MT537.U0093U0004);
      MT537.U0091U0004.Elements.Add((SwiftDefinitionElement) MT537.U0092U0004);
      MT537.U0094U0004 = new SwiftTagSequenceDefinition("SequenceC1", "Linkages");
      MT537.U0094U0004.Multiple = true;
      MT537.U0095U0004 = new SwiftTagDefinition("StartOfBlock_C1_16R", "Start of Block");
      MT537.U0095U0004.TagName = ":16R:LINK";
      MT537.U0096U0004 = new SwiftTagSubItemDefinition("StartOfBlock", "Start of Block ");
      MT537.U0096U0004.Mandatory = false;
      MT537.U0095U0004.Elements.Add((SwiftDefinitionElement) MT537.U0096U0004);
      MT537.U0094U0004.Elements.Add((SwiftDefinitionElement) MT537.U0095U0004);
      MT537.U0097U0004 = new SwiftTagChoiceDefinition("Choice", "");
      MT537.U0097U0004.Mandatory = false;
      MT537.U0097U0004.Multiple = true;
      MT537.U0098U0004 = new SwiftTagDefinition("NumberIdentification_C1_13B", "Linked Message");
      MT537.U0098U0004.TagName = ":13B::";
      MT537.U0099U0004 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT537.U0098U0004.Elements.Add((SwiftDefinitionElement) MT537.U0099U0004);
      MT537.U009AU0004 = new SwiftTagSubItemDefinition("DataSource", "Data Source");
      MT537.U0098U0004.Elements.Add((SwiftDefinitionElement) MT537.U009AU0004);
      MT537.U009BU0004 = new SwiftTagSubItemDefinition("Number_13B", "");
      MT537.U0098U0004.Elements.Add((SwiftDefinitionElement) MT537.U009BU0004);
      MT537.U0097U0004.Elements.Add((SwiftDefinitionElement) MT537.U0098U0004);
      MT537.U009CU0004 = new SwiftTagDefinition("NumberIdentification_C1_13A", "Linked Message");
      MT537.U009CU0004.TagName = ":13A::";
      MT537.U009DU0004 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT537.U009CU0004.Elements.Add((SwiftDefinitionElement) MT537.U009DU0004);
      MT537.U009EU0004 = new SwiftTagSubItemDefinition("NumberId", "Number Id");
      MT537.U009CU0004.Elements.Add((SwiftDefinitionElement) MT537.U009EU0004);
      MT537.U0097U0004.Elements.Add((SwiftDefinitionElement) MT537.U009CU0004);
      MT537.U0094U0004.Elements.Add((SwiftDefinitionElement) MT537.U0097U0004);
      MT537.U009FU0004 = new SwiftTagDefinition("Reference_C1_20C", "Reference");
      MT537.U009FU0004.TagName = ":20C::";
      MT537.U0001U0005 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT537.U009FU0004.Elements.Add((SwiftDefinitionElement) MT537.U0001U0005);
      MT537.U0002U0005 = new SwiftTagSubItemDefinition("Reference", "Reference");
      MT537.U009FU0004.Elements.Add((SwiftDefinitionElement) MT537.U0002U0005);
      MT537.U0094U0004.Elements.Add((SwiftDefinitionElement) MT537.U009FU0004);
      MT537.U0003U0005 = new SwiftTagDefinition("EndOfBlock_C1_16S", "End of Block");
      MT537.U0003U0005.TagName = ":16S:LINK";
      MT537.U0004U0005 = new SwiftTagSubItemDefinition("EndOfBlock", "End of Block");
      MT537.U0004U0005.Mandatory = false;
      MT537.U0003U0005.Elements.Add((SwiftDefinitionElement) MT537.U0004U0005);
      MT537.U0094U0004.Elements.Add((SwiftDefinitionElement) MT537.U0003U0005);
      MT537.U0091U0004.Elements.Add((SwiftDefinitionElement) MT537.U0094U0004);
      MT537.U0005U0005 = new SwiftTagSequenceDefinition("SequenceC2", "Transaction Details");
      MT537.U0005U0005.Mandatory = false;
      MT537.U0006U0005 = new SwiftTagDefinition("StartOfBlock_C2_16R", "Start of Block");
      MT537.U0006U0005.TagName = ":16R:TRANSDET";
      MT537.U0007U0005 = new SwiftTagSubItemDefinition("StartOfBlock", "Start of Block ");
      MT537.U0007U0005.Mandatory = false;
      MT537.U0006U0005.Elements.Add((SwiftDefinitionElement) MT537.U0007U0005);
      MT537.U0005U0005.Elements.Add((SwiftDefinitionElement) MT537.U0006U0005);
      MT537.U0008U0005 = new SwiftTagChoiceDefinition("Choice", "");
      MT537.U0008U0005.Mandatory = false;
      MT537.U0008U0005.Multiple = true;
      MT537.U000EU0005 = new SwiftTagDefinition("Place_C2_94B", "Place");
      MT537.U000EU0005.TagName = ":94B::";
      MT537.U000EU0005.Multiple = true;
      MT537.U000FU0005 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT537.U000EU0005.Elements.Add((SwiftDefinitionElement) MT537.U000FU0005);
      MT537.U0010U0005 = new SwiftTagSubItemDefinition("DataSource", "Data Source Scheme");
      MT537.U000EU0005.Elements.Add((SwiftDefinitionElement) MT537.U0010U0005);
      MT537.U0011U0005 = new SwiftTagSubItemDefinition("PlaceCode", "Place Code");
      MT537.U000EU0005.Elements.Add((SwiftDefinitionElement) MT537.U0011U0005);
      MT537.U0012U0005 = new SwiftTagSubItemDefinition("Narrative_94B", "Narrative");
      MT537.U0012U0005.Mandatory = false;
      MT537.U000EU0005.Elements.Add((SwiftDefinitionElement) MT537.U0012U0005);
      MT537.U0008U0005.Elements.Add((SwiftDefinitionElement) MT537.U000EU0005);
      MT537.U0013U0005 = new SwiftTagDefinition("Place_C2_94C", "Place");
      MT537.U0013U0005.TagName = ":94C::";
      MT537.U0013U0005.Multiple = true;
      MT537.U0014U0005 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT537.U0013U0005.Elements.Add((SwiftDefinitionElement) MT537.U0014U0005);
      MT537.U0015U0005 = new SwiftTagSubItemDefinition("CountryCode", "Country Code");
      MT537.U0013U0005.Elements.Add((SwiftDefinitionElement) MT537.U0015U0005);
      MT537.U0008U0005.Elements.Add((SwiftDefinitionElement) MT537.U0013U0005);
      MT537.U0016U0005 = new SwiftTagDefinition("Place_C2_94F", "Place");
      MT537.U0016U0005.TagName = ":94F::";
      MT537.U0016U0005.Multiple = true;
      MT537.U0017U0005 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT537.U0016U0005.Elements.Add((SwiftDefinitionElement) MT537.U0017U0005);
      MT537.U0018U0005 = new SwiftTagSubItemDefinition("Place", "Place");
      MT537.U0019U0005 = new SwiftTagSubItemDefinition("Place_1", "Place");
      MT537.U0018U0005.Elements.Add((SwiftDefinitionElement) MT537.U0019U0005);
      MT537.U001AU0005 = new SwiftTagSubItemDefinition("BankIdentifierCode", "Bank Identifier Code");
      MT537.U0018U0005.Elements.Add((SwiftDefinitionElement) MT537.U001AU0005);
      MT537.U0016U0005.Elements.Add((SwiftDefinitionElement) MT537.U0018U0005);
      MT537.U0008U0005.Elements.Add((SwiftDefinitionElement) MT537.U0016U0005);
      MT537.U001BU0005 = new SwiftTagDefinition("Place_C2_94H", "Place of Clearing");
      MT537.U001BU0005.TagName = ":94H::";
      MT537.U001BU0005.Multiple = true;
      MT537.U001CU0005 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT537.U001BU0005.Elements.Add((SwiftDefinitionElement) MT537.U001CU0005);
      MT537.U001DU0005 = new SwiftTagSubItemDefinition("BankIdentifierCode", "Bank Identifier Code");
      MT537.U001BU0005.Elements.Add((SwiftDefinitionElement) MT537.U001DU0005);
      MT537.U0008U0005.Elements.Add((SwiftDefinitionElement) MT537.U001BU0005);
      MT537.U0005U0005.Elements.Add((SwiftDefinitionElement) MT537.U0008U0005);
      MT537.U001EU0005 = new SwiftTagDefinition("IdentificationOfFinancialInstrument_C2_35B", "Identification of the Financial Instrument");
      MT537.U001EU0005.TagName = ":35B:";
      MT537.U001FU0005 = new SwiftTagSubItemDefinition("IdentificationOfSecurity", "Identification of Security");
      MT537.U001FU0005.Mandatory = false;
      MT537.U007FU0005 = new SwiftTagSubItemDefinition("IdentificationOfSecurity_1", "Identification of Security");
      MT537.U001FU0005.Elements.Add((SwiftDefinitionElement) MT537.U007FU0005);
      MT537.U001EU0005.Elements.Add((SwiftDefinitionElement) MT537.U001FU0005);
      MT537.U0080U0005 = new SwiftTagSubItemDefinition("DescriptionOfSecurity", "Description of Security");
      MT537.U0080U0005.Mandatory = false;
      MT537.U001EU0005.Elements.Add((SwiftDefinitionElement) MT537.U0080U0005);
      MT537.U0005U0005.Elements.Add((SwiftDefinitionElement) MT537.U001EU0005);
      MT537.U0081U0005 = new SwiftTagDefinition("QuantityOfFinancialInstrument_C2_36B", "Posting Quantity");
      MT537.U0081U0005.TagName = ":36B::";
      MT537.U0081U0005.Multiple = true;
      MT537.U0082U0005 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT537.U0081U0005.Elements.Add((SwiftDefinitionElement) MT537.U0082U0005);
      MT537.U0083U0005 = new SwiftTagSubItemDefinition("QuantityOfFinancialInstrument", "Quantity of Financial Instrument");
      MT537.U0084U0005 = new SwiftTagSubItemDefinition("QuantityTypeCode", "Quantity Type Code");
      MT537.U0083U0005.Elements.Add((SwiftDefinitionElement) MT537.U0084U0005);
      MT537.U0086U0005 = new SwiftTagSubItemDefinition("Quantity", "Quantity");
      MT537.U0083U0005.Elements.Add((SwiftDefinitionElement) MT537.U0086U0005);
      MT537.U0081U0005.Elements.Add((SwiftDefinitionElement) MT537.U0083U0005);
      MT537.U0005U0005.Elements.Add((SwiftDefinitionElement) MT537.U0081U0005);
      MT537.U0087U0005 = new SwiftTagDefinition("Amount_C2_19A", "Amount");
      MT537.U0087U0005.TagName = ":19A::";
      MT537.U0087U0005.Mandatory = false;
      MT537.U0087U0005.Multiple = true;
      MT537.U0088U0005 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT537.U0087U0005.Elements.Add((SwiftDefinitionElement) MT537.U0088U0005);
      MT537.U0089U0005 = new SwiftTagSubItemDefinition("SignCodeAmount", "Sign, Currency Code and Amount");
      MT537.U0087U0005.Elements.Add((SwiftDefinitionElement) MT537.U0089U0005);
      MT537.U0005U0005.Elements.Add((SwiftDefinitionElement) MT537.U0087U0005);
      MT537.U008AU0005 = new SwiftTagChoiceDefinition("Choice", "");
      MT537.U008AU0005.Multiple = true;
      MT537.U008BU0005 = new SwiftTagDefinition("Indicator_C2_22H", "Indicator");
      MT537.U008BU0005.TagName = ":22H::";
      MT537.U008BU0005.Multiple = true;
      MT537.U008CU0005 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT537.U008BU0005.Elements.Add((SwiftDefinitionElement) MT537.U008CU0005);
      MT537.U008DU0005 = new SwiftTagSubItemDefinition("Indicator", "Indicator");
      MT537.U008BU0005.Elements.Add((SwiftDefinitionElement) MT537.U008DU0005);
      MT537.U008AU0005.Elements.Add((SwiftDefinitionElement) MT537.U008BU0005);
      MT537.U008EU0005 = new SwiftTagDefinition("Indicator_C2_22F", "Indicator");
      MT537.U008EU0005.TagName = ":22F::";
      MT537.U008EU0005.Multiple = true;
      MT537.U008FU0005 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT537.U008EU0005.Elements.Add((SwiftDefinitionElement) MT537.U008FU0005);
      MT537.U0090U0005 = new SwiftTagSubItemDefinition("DataSource", "Data Source Scheme");
      MT537.U008EU0005.Elements.Add((SwiftDefinitionElement) MT537.U0090U0005);
      MT537.U0091U0005 = new SwiftTagSubItemDefinition("Indicator", "Indicator");
      MT537.U008EU0005.Elements.Add((SwiftDefinitionElement) MT537.U0091U0005);
      MT537.U008AU0005.Elements.Add((SwiftDefinitionElement) MT537.U008EU0005);
      MT537.U0005U0005.Elements.Add((SwiftDefinitionElement) MT537.U008AU0005);
      MT537.U0092U0005 = new SwiftTagChoiceDefinition("Choice", "");
      MT537.U0092U0005.Multiple = true;
      MT537.U0093U0005 = new SwiftTagDefinition("Date_C2_98A", "Date");
      MT537.U0093U0005.TagName = ":98A::";
      MT537.U0093U0005.Multiple = true;
      MT537.U0094U0005 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT537.U0093U0005.Elements.Add((SwiftDefinitionElement) MT537.U0094U0005);
      MT537.U0095U0005 = new SwiftTagSubItemDefinition("Date", "Date");
      MT537.U0093U0005.Elements.Add((SwiftDefinitionElement) MT537.U0095U0005);
      MT537.U0092U0005.Elements.Add((SwiftDefinitionElement) MT537.U0093U0005);
      MT537.U0096U0005 = new SwiftTagDefinition("DateTime_C2_98C", "Date/Time");
      MT537.U0096U0005.TagName = ":98C::";
      MT537.U0096U0005.Multiple = true;
      MT537.U0097U0005 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT537.U0096U0005.Elements.Add((SwiftDefinitionElement) MT537.U0097U0005);
      MT537.U0098U0005 = new SwiftTagSubItemDefinition("DateTime", "Date/Time");
      MT537.U0099U0005 = new SwiftTagSubItemDefinition("Date", "Date");
      MT537.U0098U0005.Elements.Add((SwiftDefinitionElement) MT537.U0099U0005);
      MT537.U009AU0005 = new SwiftTagSubItemDefinition("Time", "Time");
      MT537.U0098U0005.Elements.Add((SwiftDefinitionElement) MT537.U009AU0005);
      MT537.U0096U0005.Elements.Add((SwiftDefinitionElement) MT537.U0098U0005);
      MT537.U0092U0005.Elements.Add((SwiftDefinitionElement) MT537.U0096U0005);
      MT537.U009BU0005 = new SwiftTagDefinition("DateCode_C2_98B", "Date Code");
      MT537.U009BU0005.TagName = ":98B::";
      MT537.U009BU0005.Multiple = true;
      MT537.U009CU0005 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT537.U009BU0005.Elements.Add((SwiftDefinitionElement) MT537.U009CU0005);
      MT537.U009DU0005 = new SwiftTagSubItemDefinition("DataSource", "Data Source Scheme");
      MT537.U009BU0005.Elements.Add((SwiftDefinitionElement) MT537.U009DU0005);
      MT537.U009EU0005 = new SwiftTagSubItemDefinition("DateCode", "Date Code");
      MT537.U009BU0005.Elements.Add((SwiftDefinitionElement) MT537.U009EU0005);
      MT537.U0092U0005.Elements.Add((SwiftDefinitionElement) MT537.U009BU0005);
      MT537.U0005U0005.Elements.Add((SwiftDefinitionElement) MT537.U0092U0005);
      MT537.U009FU0005 = new SwiftTagDefinition("Narrative_C2_70E", "Transaction Details Narrative");
      MT537.U009FU0005.TagName = ":70E::";
      MT537.U009FU0005.Mandatory = false;
      MT537.U0001U0006 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT537.U009FU0005.Elements.Add((SwiftDefinitionElement) MT537.U0001U0006);
      MT537.U0002U0006 = new SwiftTagSubItemDefinition("Narrative", "Narrative");
      MT537.U009FU0005.Elements.Add((SwiftDefinitionElement) MT537.U0002U0006);
      MT537.U0005U0005.Elements.Add((SwiftDefinitionElement) MT537.U009FU0005);
      MT537.U0003U0006 = new SwiftTagSequenceDefinition("SequenceC2a", "Settlement Parties");
      MT537.U0003U0006.Mandatory = false;
      MT537.U0003U0006.Multiple = true;
      MT537.U0004U0006 = new SwiftTagDefinition("StartOfBlock_C2a_16R", "Start of Block");
      MT537.U0004U0006.TagName = ":16R:SETPRTY";
      MT537.U0005U0006 = new SwiftTagSubItemDefinition("StartOfBlock", "Start of Block ");
      MT537.U0005U0006.Mandatory = false;
      MT537.U0004U0006.Elements.Add((SwiftDefinitionElement) MT537.U0005U0006);
      MT537.U0003U0006.Elements.Add((SwiftDefinitionElement) MT537.U0004U0006);
      MT537.U0006U0006 = new SwiftTagChoiceDefinition("Choice", "");
      MT537.U0006U0006.Multiple = true;
      MT537.U0007U0006 = new SwiftTagDefinition("Party_C2a_95C", "Party");
      MT537.U0007U0006.TagName = ":95C::";
      MT537.U0008U0006 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT537.U0007U0006.Elements.Add((SwiftDefinitionElement) MT537.U0008U0006);
      MT537.U000EU0006 = new SwiftTagSubItemDefinition("CountryCode", "Country Code");
      MT537.U0007U0006.Elements.Add((SwiftDefinitionElement) MT537.U000EU0006);
      MT537.U0006U0006.Elements.Add((SwiftDefinitionElement) MT537.U0007U0006);
      MT537.U000FU0006 = new SwiftTagDefinition("Party_C2a_95P", "Party");
      MT537.U000FU0006.TagName = ":95P::";
      MT537.U0010U0006 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT537.U000FU0006.Elements.Add((SwiftDefinitionElement) MT537.U0010U0006);
      MT537.U0011U0006 = new SwiftTagSubItemDefinition("BankIdentifierCode", "Bank Identifier Code");
      MT537.U000FU0006.Elements.Add((SwiftDefinitionElement) MT537.U0011U0006);
      MT537.U0006U0006.Elements.Add((SwiftDefinitionElement) MT537.U000FU0006);
      MT537.U0012U0006 = new SwiftTagDefinition("Party_C2a_95R", "Party");
      MT537.U0012U0006.TagName = ":95R::";
      MT537.U0013U0006 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT537.U0012U0006.Elements.Add((SwiftDefinitionElement) MT537.U0013U0006);
      MT537.U0014U0006 = new SwiftTagSubItemDefinition("DataSourceScheme", "Data Source Scheme");
      MT537.U0012U0006.Elements.Add((SwiftDefinitionElement) MT537.U0014U0006);
      MT537.U0015U0006 = new SwiftTagSubItemDefinition("ProprietaryCode", "Proprietary Code");
      MT537.U0012U0006.Elements.Add((SwiftDefinitionElement) MT537.U0015U0006);
      MT537.U0006U0006.Elements.Add((SwiftDefinitionElement) MT537.U0012U0006);
      MT537.U0016U0006 = new SwiftTagDefinition("Party_C2a_95Q", "Party");
      MT537.U0016U0006.TagName = ":95Q::";
      MT537.U0017U0006 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT537.U0016U0006.Elements.Add((SwiftDefinitionElement) MT537.U0017U0006);
      MT537.U0018U0006 = new SwiftTagSubItemDefinition("NameAndAddress_95Q", "Name & Address");
      MT537.U0016U0006.Elements.Add((SwiftDefinitionElement) MT537.U0018U0006);
      MT537.U0006U0006.Elements.Add((SwiftDefinitionElement) MT537.U0016U0006);
      MT537.U0003U0006.Elements.Add((SwiftDefinitionElement) MT537.U0006U0006);
      MT537.U0019U0006 = new SwiftTagChoiceDefinition("Choice", "");
      MT537.U0019U0006.Mandatory = false;
      MT537.U0019U0006.Multiple = true;
      MT537.U001AU0006 = new SwiftTagDefinition("Account_C2a_97A", "Safekeeping Account");
      MT537.U001AU0006.TagName = ":97A::";
      MT537.U001BU0006 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT537.U001AU0006.Elements.Add((SwiftDefinitionElement) MT537.U001BU0006);
      MT537.U001CU0006 = new SwiftTagSubItemDefinition("AccountNumber", "Account Number");
      MT537.U001AU0006.Elements.Add((SwiftDefinitionElement) MT537.U001CU0006);
      MT537.U0019U0006.Elements.Add((SwiftDefinitionElement) MT537.U001AU0006);
      MT537.U001DU0006 = new SwiftTagDefinition("Account_C2a_97B", "Safekeeping Account");
      MT537.U001DU0006.TagName = ":97B::";
      MT537.U001EU0006 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT537.U001DU0006.Elements.Add((SwiftDefinitionElement) MT537.U001EU0006);
      MT537.U001FU0006 = new SwiftTagSubItemDefinition("DataSource", "Data Source Scheme");
      MT537.U001DU0006.Elements.Add((SwiftDefinitionElement) MT537.U001FU0006);
      MT537.U007FU0006 = new SwiftTagSubItemDefinition("AccountTypeCode", "Account Type Code");
      MT537.U001DU0006.Elements.Add((SwiftDefinitionElement) MT537.U007FU0006);
      MT537.U0080U0006 = new SwiftTagSubItemDefinition("AccountNumber", "Account Number");
      MT537.U001DU0006.Elements.Add((SwiftDefinitionElement) MT537.U0080U0006);
      MT537.U0019U0006.Elements.Add((SwiftDefinitionElement) MT537.U001DU0006);
      MT537.U0003U0006.Elements.Add((SwiftDefinitionElement) MT537.U0019U0006);
      MT537.U0081U0006 = new SwiftTagDefinition("Reference_C2a_20C", "Processing Reference");
      MT537.U0081U0006.TagName = ":20C::";
      MT537.U0081U0006.Mandatory = false;
      MT537.U0082U0006 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT537.U0081U0006.Elements.Add((SwiftDefinitionElement) MT537.U0082U0006);
      MT537.U0083U0006 = new SwiftTagSubItemDefinition("Reference", "Reference");
      MT537.U0081U0006.Elements.Add((SwiftDefinitionElement) MT537.U0083U0006);
      MT537.U0003U0006.Elements.Add((SwiftDefinitionElement) MT537.U0081U0006);
      MT537.U0084U0006 = new SwiftTagDefinition("EndOfBlock_C2a_16S", "End of Block");
      MT537.U0084U0006.TagName = ":16S:SETPRTY";
      MT537.U0086U0006 = new SwiftTagSubItemDefinition("EndOfBlock", "End of Block");
      MT537.U0086U0006.Mandatory = false;
      MT537.U0084U0006.Elements.Add((SwiftDefinitionElement) MT537.U0086U0006);
      MT537.U0003U0006.Elements.Add((SwiftDefinitionElement) MT537.U0084U0006);
      MT537.U0005U0005.Elements.Add((SwiftDefinitionElement) MT537.U0003U0006);
      MT537.U0087U0006 = new SwiftTagDefinition("EndOfBlock_C2_16S", "End of Block");
      MT537.U0087U0006.TagName = ":16S:TRANSDET";
      MT537.U0088U0006 = new SwiftTagSubItemDefinition("EndOfBlock", "End of Block");
      MT537.U0088U0006.Mandatory = false;
      MT537.U0087U0006.Elements.Add((SwiftDefinitionElement) MT537.U0088U0006);
      MT537.U0005U0005.Elements.Add((SwiftDefinitionElement) MT537.U0087U0006);
      MT537.U0091U0004.Elements.Add((SwiftDefinitionElement) MT537.U0005U0005);
      MT537.U0089U0006 = new SwiftTagSequenceDefinition("SequenceC3", "Status");
      MT537.U0089U0006.Mandatory = false;
      MT537.U0089U0006.Multiple = true;
      MT537.U008AU0006 = new SwiftTagDefinition("StartOfBlock_C3_16R", "Start of Block");
      MT537.U008AU0006.TagName = ":16R:STAT";
      MT537.U008BU0006 = new SwiftTagSubItemDefinition("StartOfBlock", "Start of Block ");
      MT537.U008BU0006.Mandatory = false;
      MT537.U008AU0006.Elements.Add((SwiftDefinitionElement) MT537.U008BU0006);
      MT537.U0089U0006.Elements.Add((SwiftDefinitionElement) MT537.U008AU0006);
      MT537.U008CU0006 = new SwiftTagDefinition("Status_C3_25D", "Status");
      MT537.U008CU0006.TagName = ":25D::";
      MT537.U008DU0006 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT537.U008CU0006.Elements.Add((SwiftDefinitionElement) MT537.U008DU0006);
      MT537.U008EU0006 = new SwiftTagSubItemDefinition("DataSource", "Data Source Scheme");
      MT537.U008CU0006.Elements.Add((SwiftDefinitionElement) MT537.U008EU0006);
      MT537.U008FU0006 = new SwiftTagSubItemDefinition("StatusCode", "Status Code");
      MT537.U008CU0006.Elements.Add((SwiftDefinitionElement) MT537.U008FU0006);
      MT537.U0089U0006.Elements.Add((SwiftDefinitionElement) MT537.U008CU0006);
      MT537.U0090U0006 = new SwiftTagSequenceDefinition("SequenceC3a", "Reason");
      MT537.U0090U0006.Mandatory = false;
      MT537.U0090U0006.Multiple = true;
      MT537.U0091U0006 = new SwiftTagDefinition("StartOfBlock_C3a_16R", "Start of Block");
      MT537.U0091U0006.TagName = ":16R:REAS";
      MT537.U0092U0006 = new SwiftTagSubItemDefinition("StartOfBlock", "Start of Block ");
      MT537.U0092U0006.Mandatory = false;
      MT537.U0091U0006.Elements.Add((SwiftDefinitionElement) MT537.U0092U0006);
      MT537.U0090U0006.Elements.Add((SwiftDefinitionElement) MT537.U0091U0006);
      MT537.U0093U0006 = new SwiftTagDefinition("Reason_C3a_24B", "Reason");
      MT537.U0093U0006.TagName = ":24B::";
      MT537.U0094U0006 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT537.U0093U0006.Elements.Add((SwiftDefinitionElement) MT537.U0094U0006);
      MT537.U0095U0006 = new SwiftTagSubItemDefinition("DataSource", "Data Source Scheme");
      MT537.U0093U0006.Elements.Add((SwiftDefinitionElement) MT537.U0095U0006);
      MT537.U0096U0006 = new SwiftTagSubItemDefinition("ReasonCode", "Reason Code");
      MT537.U0093U0006.Elements.Add((SwiftDefinitionElement) MT537.U0096U0006);
      MT537.U0090U0006.Elements.Add((SwiftDefinitionElement) MT537.U0093U0006);
      MT537.U0097U0006 = new SwiftTagDefinition("Narrative_C3a_70D", "Reason Narrative");
      MT537.U0097U0006.TagName = ":70D::";
      MT537.U0097U0006.Mandatory = false;
      MT537.U0098U0006 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT537.U0097U0006.Elements.Add((SwiftDefinitionElement) MT537.U0098U0006);
      MT537.U0099U0006 = new SwiftTagSubItemDefinition("Narrative", "Narrative");
      MT537.U0097U0006.Elements.Add((SwiftDefinitionElement) MT537.U0099U0006);
      MT537.U0090U0006.Elements.Add((SwiftDefinitionElement) MT537.U0097U0006);
      MT537.U009AU0006 = new SwiftTagDefinition("EndOfBlock_C3a_16S", "End of Block");
      MT537.U009AU0006.TagName = ":16S:REAS";
      MT537.U009BU0006 = new SwiftTagSubItemDefinition("EndOfBlock", "End of Block");
      MT537.U009BU0006.Mandatory = false;
      MT537.U009AU0006.Elements.Add((SwiftDefinitionElement) MT537.U009BU0006);
      MT537.U0090U0006.Elements.Add((SwiftDefinitionElement) MT537.U009AU0006);
      MT537.U0089U0006.Elements.Add((SwiftDefinitionElement) MT537.U0090U0006);
      MT537.U009CU0006 = new SwiftTagDefinition("EndOfBlock_C3_16S", "End of Block");
      MT537.U009CU0006.TagName = ":16S:STAT";
      MT537.U009DU0006 = new SwiftTagSubItemDefinition("EndOfBlock", "End of Block");
      MT537.U009DU0006.Mandatory = false;
      MT537.U009CU0006.Elements.Add((SwiftDefinitionElement) MT537.U009DU0006);
      MT537.U0089U0006.Elements.Add((SwiftDefinitionElement) MT537.U009CU0006);
      MT537.U0091U0004.Elements.Add((SwiftDefinitionElement) MT537.U0089U0006);
      MT537.U009EU0006 = new SwiftTagDefinition("EndOfBlock_C_16S", "End of Block");
      MT537.U009EU0006.TagName = ":16S:TRANS";
      MT537.U009FU0006 = new SwiftTagSubItemDefinition("EndOfBlock", "End of Block");
      MT537.U009FU0006.Mandatory = false;
      MT537.U009EU0006.Elements.Add((SwiftDefinitionElement) MT537.U009FU0006);
      MT537.U0091U0004.Elements.Add((SwiftDefinitionElement) MT537.U009EU0006);
      MT537.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT537.U0091U0004);
      MT537.U0001U0007 = new SwiftTagSequenceDefinition("SequenceD", "Additional Information");
      MT537.U0001U0007.Mandatory = false;
      MT537.U0002U0007 = new SwiftTagDefinition("StartOfBlock_D_16R", "Start of Block");
      MT537.U0002U0007.TagName = ":16R:ADDINFO";
      MT537.U0003U0007 = new SwiftTagSubItemDefinition("StartOfBlock", "Start of Block ");
      MT537.U0003U0007.Mandatory = false;
      MT537.U0002U0007.Elements.Add((SwiftDefinitionElement) MT537.U0003U0007);
      MT537.U0001U0007.Elements.Add((SwiftDefinitionElement) MT537.U0002U0007);
      MT537.U0004U0007 = new SwiftTagChoiceDefinition("Choice", "");
      MT537.U0004U0007.Mandatory = false;
      MT537.U0004U0007.Multiple = true;
      MT537.U0005U0007 = new SwiftTagDefinition("Party_D_95P", "Party");
      MT537.U0005U0007.TagName = ":95P::";
      MT537.U0005U0007.Multiple = true;
      MT537.U0006U0007 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT537.U0005U0007.Elements.Add((SwiftDefinitionElement) MT537.U0006U0007);
      MT537.U0007U0007 = new SwiftTagSubItemDefinition("BankIdentifierCode", "Bank Identifier Code");
      MT537.U0005U0007.Elements.Add((SwiftDefinitionElement) MT537.U0007U0007);
      MT537.U0004U0007.Elements.Add((SwiftDefinitionElement) MT537.U0005U0007);
      MT537.U0008U0007 = new SwiftTagDefinition("Party_D_95R", "Party");
      MT537.U0008U0007.TagName = ":95R::";
      MT537.U0008U0007.Multiple = true;
      MT537.U000EU0007 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT537.U0008U0007.Elements.Add((SwiftDefinitionElement) MT537.U000EU0007);
      MT537.U000FU0007 = new SwiftTagSubItemDefinition("DataSourceScheme", "Data Source Scheme");
      MT537.U0008U0007.Elements.Add((SwiftDefinitionElement) MT537.U000FU0007);
      MT537.U0010U0007 = new SwiftTagSubItemDefinition("ProprietaryCode", "Proprietary Code");
      MT537.U0008U0007.Elements.Add((SwiftDefinitionElement) MT537.U0010U0007);
      MT537.U0004U0007.Elements.Add((SwiftDefinitionElement) MT537.U0008U0007);
      MT537.U0011U0007 = new SwiftTagDefinition("Party_D_95Q", "Party");
      MT537.U0011U0007.TagName = ":95Q::";
      MT537.U0011U0007.Multiple = true;
      MT537.U0012U0007 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT537.U0011U0007.Elements.Add((SwiftDefinitionElement) MT537.U0012U0007);
      MT537.U0013U0007 = new SwiftTagSubItemDefinition("NameAndAddress_95Q", "Name & Address");
      MT537.U0011U0007.Elements.Add((SwiftDefinitionElement) MT537.U0013U0007);
      MT537.U0004U0007.Elements.Add((SwiftDefinitionElement) MT537.U0011U0007);
      MT537.U0001U0007.Elements.Add((SwiftDefinitionElement) MT537.U0004U0007);
      MT537.U0014U0007 = new SwiftTagDefinition("EndOfBlock_D_16S", "End of Block");
      MT537.U0014U0007.TagName = ":16S:ADDINFO";
      MT537.U0015U0007 = new SwiftTagSubItemDefinition("EndOfBlock", "End of Block");
      MT537.U0015U0007.Mandatory = false;
      MT537.U0014U0007.Elements.Add((SwiftDefinitionElement) MT537.U0015U0007);
      MT537.U0001U0007.Elements.Add((SwiftDefinitionElement) MT537.U0014U0007);
      MT537.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT537.U0001U0007);
    }

    public class SequenceAClass : SwiftTagSequence
    {
      internal override SwiftDefinitionElement Definition
      {
        get
        {
          return (SwiftDefinitionElement) MT537.U0002;
        }
      }

      [Description("Start of Block")]
      public Tag16R StartOfBlock_A_16R
      {
        get
        {
          return new Tag16R((SwiftElement) this, 0, (SwiftDefinitionElement) MT537.U0003);
        }
      }

      [Description("Start of Block")]
      public Tag16R Tag16R_StartOfBlock_A
      {
        get
        {
          return this.StartOfBlock_A_16R;
        }
      }

      [Description("Page Number/Continuation Indicator")]
      public Tag28E PageNumberContinuationIndicator_A_28E
      {
        get
        {
          return new Tag28E((SwiftElement) this, 0, (SwiftDefinitionElement) MT537.U0005);
        }
      }

      [Description("Page Number/Continuation Indicator")]
      public Tag28E Tag28E_PageNumberContinuationIndicator_A
      {
        get
        {
          return this.PageNumberContinuationIndicator_A_28E;
        }
      }

      [Description("Statement Number")]
      public Tag13A NumberIdentification_A_13A
      {
        get
        {
          return new Tag13A((SwiftElement) this, 0, (SwiftDefinitionElement) MT537.U000E);
        }
      }

      [Description("Statement Number")]
      public Tag13A Tag13A_NumberIdentification_A
      {
        get
        {
          return this.NumberIdentification_A_13A;
        }
      }

      [Description("Statement Number")]
      public Tag13J NumberIdentification_A_13J
      {
        get
        {
          return new Tag13J((SwiftElement) this, 0, (SwiftDefinitionElement) MT537.U0011);
        }
      }

      [Description("Statement Number")]
      public Tag13J Tag13J_NumberIdentification_A
      {
        get
        {
          return this.NumberIdentification_A_13J;
        }
      }

      [Description("Sender’s Reference")]
      public Tag20C Reference_A_20C
      {
        get
        {
          return new Tag20C((SwiftElement) this, 0, (SwiftDefinitionElement) MT537.U0014);
        }
      }

      [Description("Sender’s Reference")]
      public Tag20C Tag20C_Reference_A
      {
        get
        {
          return this.Reference_A_20C;
        }
      }

      [Description("Function of the Message")]
      public Tag23G FunctionOfTheMessage_A_23G
      {
        get
        {
          return new Tag23G((SwiftElement) this, 0, (SwiftDefinitionElement) MT537.U0017);
        }
      }

      [Description("Function of the Message")]
      public Tag23G Tag23G_FunctionOfTheMessage_A
      {
        get
        {
          return this.FunctionOfTheMessage_A_23G;
        }
      }

      [Description("Date")]
      public Tag98A[] Date_A_98A
      {
        get
        {
          int index = -1;
          List<Tag98A> list = new List<Tag98A>();
          int count;
          do
          {
            ++index;
            Tag98A tag98A = new Tag98A((SwiftElement) this, index, (SwiftDefinitionElement) MT537.U001C);
            count = this.ListTags((SwiftElement) tag98A).Count;
            if (count > 0)
              list.Add(tag98A);
          }
          while (count > 0);
          return list.ToArray();
        }
      }

      [Description("Date")]
      public Tag98A[] Tag98A_Date_A
      {
        get
        {
          return this.Date_A_98A;
        }
      }

      [Description("Date/Time")]
      public Tag98C[] DateTime_A_98C
      {
        get
        {
          int index = -1;
          List<Tag98C> list = new List<Tag98C>();
          int count;
          do
          {
            ++index;
            Tag98C tag98C = new Tag98C((SwiftElement) this, index, (SwiftDefinitionElement) MT537.U001F);
            count = this.ListTags((SwiftElement) tag98C).Count;
            if (count > 0)
              list.Add(tag98C);
          }
          while (count > 0);
          return list.ToArray();
        }
      }

      [Description("Date/Time")]
      public Tag98C[] Tag98C_DateTime_A
      {
        get
        {
          return this.DateTime_A_98C;
        }
      }

      [Description("Trade Date/Time")]
      public Tag98E[] DateTime_A_98E
      {
        get
        {
          int index = -1;
          List<Tag98E> list = new List<Tag98E>();
          int count;
          do
          {
            ++index;
            Tag98E tag98E = new Tag98E((SwiftElement) this, index, (SwiftDefinitionElement) MT537.U0083);
            count = this.ListTags((SwiftElement) tag98E).Count;
            if (count > 0)
              list.Add(tag98E);
          }
          while (count > 0);
          return list.ToArray();
        }
      }

      [Description("Trade Date/Time")]
      public Tag98E[] Tag98E_DateTime_A
      {
        get
        {
          return this.DateTime_A_98E;
        }
      }

      [Description("Indicator")]
      public Tag22H[] Indicator_A_22H
      {
        get
        {
          int index = -1;
          List<Tag22H> list = new List<Tag22H>();
          int count;
          do
          {
            ++index;
            Tag22H tag22H = new Tag22H((SwiftElement) this, index, (SwiftDefinitionElement) MT537.U008F);
            count = this.ListTags((SwiftElement) tag22H).Count;
            if (count > 0)
              list.Add(tag22H);
          }
          while (count > 0);
          return list.ToArray();
        }
      }

      [Description("Indicator")]
      public Tag22H[] Tag22H_Indicator_A
      {
        get
        {
          return this.Indicator_A_22H;
        }
      }

      [Description("Indicator")]
      public Tag22F[] Indicator_A_22F
      {
        get
        {
          int index = -1;
          List<Tag22F> list = new List<Tag22F>();
          int count;
          do
          {
            ++index;
            Tag22F tag22F = new Tag22F((SwiftElement) this, index, (SwiftDefinitionElement) MT537.U0092);
            count = this.ListTags((SwiftElement) tag22F).Count;
            if (count > 0)
              list.Add(tag22F);
          }
          while (count > 0);
          return list.ToArray();
        }
      }

      [Description("Indicator")]
      public Tag22F[] Tag22F_Indicator_A
      {
        get
        {
          return this.Indicator_A_22F;
        }
      }

      [Description("Linkages")]
      public MT537.SequenceAClass.SequenceA1Class[] SequenceA1
      {
        get
        {
          int index = -1;
          List<MT537.SequenceAClass.SequenceA1Class> list = new List<MT537.SequenceAClass.SequenceA1Class>();
          int count;
          do
          {
            ++index;
            MT537.SequenceAClass.SequenceA1Class sequenceA1Class = new MT537.SequenceAClass.SequenceA1Class((SwiftElement) this, index, false);
            count = this.ListTags((SwiftElement) sequenceA1Class).Count;
            if (count > 0)
              list.Add(sequenceA1Class);
          }
          while (count > 0);
          return list.ToArray();
        }
      }

      [Description("Account Owner")]
      public MT537.SequenceAClass.Tag95P Party_A_95P
      {
        get
        {
          return new MT537.SequenceAClass.Tag95P((SwiftElement) this, 0, (SwiftDefinitionElement) MT537.U0008U0002);
        }
      }

      [Description("Account Owner")]
      public MT537.SequenceAClass.Tag95P Tag95P_Party_A
      {
        get
        {
          return this.Party_A_95P;
        }
      }

      [Description("Account Owner")]
      public MT537.SequenceAClass.Tag95R Party_A_95R
      {
        get
        {
          return new MT537.SequenceAClass.Tag95R((SwiftElement) this, 0, (SwiftDefinitionElement) MT537.U0010U0002);
        }
      }

      [Description("Account Owner")]
      public MT537.SequenceAClass.Tag95R Tag95R_Party_A
      {
        get
        {
          return this.Party_A_95R;
        }
      }

      [Description("Safekeeping Account")]
      public Tag97A Account_A_97A
      {
        get
        {
          return new Tag97A((SwiftElement) this, 0, (SwiftDefinitionElement) MT537.U0015U0002);
        }
      }

      [Description("Safekeeping Account")]
      public Tag97A Tag97A_Account_A
      {
        get
        {
          return this.Account_A_97A;
        }
      }

      [Description("Safekeeping Account")]
      public Tag97B Account_A_97B
      {
        get
        {
          return new Tag97B((SwiftElement) this, 0, (SwiftDefinitionElement) MT537.U0018U0002);
        }
      }

      [Description("Safekeeping Account")]
      public Tag97B Tag97B_Account_A
      {
        get
        {
          return this.Account_A_97B;
        }
      }

      [Description("Activity Flag")]
      public Tag17B Flag_A_17B
      {
        get
        {
          return new Tag17B((SwiftElement) this, 0, (SwiftDefinitionElement) MT537.U001DU0002);
        }
      }

      [Description("Activity Flag")]
      public Tag17B Tag17B_Flag_A
      {
        get
        {
          return this.Flag_A_17B;
        }
      }

      [Description("End of Block")]
      public Tag16S EndOfBlock_A_16S
      {
        get
        {
          return new Tag16S((SwiftElement) this, 0, (SwiftDefinitionElement) MT537.U007FU0002);
        }
      }

      [Description("End of Block")]
      public Tag16S Tag16S_EndOfBlock_A
      {
        get
        {
          return this.EndOfBlock_A_16S;
        }
      }

      internal SequenceAClass(SwiftElement parent, int index, bool createTags)
        : base(parent, index, createTags)
      {
      }

      public Tag98A AddDate_A_98A()
      {
        return new Tag98A((SwiftElement) this, this.Date_A_98A.Length, (SwiftDefinitionElement) MT537.U001C)
        {
          Value = string.Empty
        };
      }

      public void RemoveDate_A_98A(Tag98A tag)
      {
        this.RemoveTag(tag.GetTag());
      }

      public Tag98C AddDateTime_A_98C()
      {
        return new Tag98C((SwiftElement) this, this.DateTime_A_98C.Length, (SwiftDefinitionElement) MT537.U001F)
        {
          Value = string.Empty
        };
      }

      public void RemoveDateTime_A_98C(Tag98C tag)
      {
        this.RemoveTag(tag.GetTag());
      }

      public Tag98E AddDateTime_A_98E()
      {
        return new Tag98E((SwiftElement) this, this.DateTime_A_98E.Length, (SwiftDefinitionElement) MT537.U0083)
        {
          Value = string.Empty
        };
      }

      public void RemoveDateTime_A_98E(Tag98E tag)
      {
        this.RemoveTag(tag.GetTag());
      }

      public Tag22H AddIndicator_A_22H()
      {
        return new Tag22H((SwiftElement) this, this.Indicator_A_22H.Length, (SwiftDefinitionElement) MT537.U008F)
        {
          Value = string.Empty
        };
      }

      public void RemoveIndicator_A_22H(Tag22H tag)
      {
        this.RemoveTag(tag.GetTag());
      }

      public Tag22F AddIndicator_A_22F()
      {
        return new Tag22F((SwiftElement) this, this.Indicator_A_22F.Length, (SwiftDefinitionElement) MT537.U0092)
        {
          Value = string.Empty
        };
      }

      public void RemoveIndicator_A_22F(Tag22F tag)
      {
        this.RemoveTag(tag.GetTag());
      }

      public MT537.SequenceAClass.SequenceA1Class AddSequenceA1()
      {
        return new MT537.SequenceAClass.SequenceA1Class((SwiftElement) this, this.SequenceA1.Length, true);
      }

      public void RemoveSequenceA1(MT537.SequenceAClass.SequenceA1Class sequence)
      {
        foreach (SwiftTag tag in this.ListTags((SwiftElement) sequence))
          this.RemoveTag(tag);
      }

      public class SequenceA1Class : SwiftTagSequence
      {
        internal override SwiftDefinitionElement Definition
        {
          get
          {
            return (SwiftDefinitionElement) MT537.U0096;
          }
        }

        [Description("Start of Block")]
        public Tag16R StartOfBlock_A1_16R
        {
          get
          {
            return new Tag16R((SwiftElement) this, 0, (SwiftDefinitionElement) MT537.U0097);
          }
        }

        [Description("Start of Block")]
        public Tag16R Tag16R_StartOfBlock_A1
        {
          get
          {
            return this.StartOfBlock_A1_16R;
          }
        }

        [Description("Linked Message")]
        public Tag13B NumberIdentification_A1_13B
        {
          get
          {
            return new Tag13B((SwiftElement) this, 0, (SwiftDefinitionElement) MT537.U009A);
          }
        }

        [Description("Linked Message")]
        public Tag13B Tag13B_NumberIdentification_A1
        {
          get
          {
            return this.NumberIdentification_A1_13B;
          }
        }

        [Description("Linked Transaction")]
        public Tag13A NumberIdentification_A1_13A
        {
          get
          {
            return new Tag13A((SwiftElement) this, 0, (SwiftDefinitionElement) MT537.U009E);
          }
        }

        [Description("Linked Transaction")]
        public Tag13A Tag13A_NumberIdentification_A1
        {
          get
          {
            return this.NumberIdentification_A1_13A;
          }
        }

        [Description("Reference")]
        public Tag20C Reference_A1_20C
        {
          get
          {
            return new Tag20C((SwiftElement) this, 0, (SwiftDefinitionElement) MT537.U0002U0002);
          }
        }

        [Description("Reference")]
        public Tag20C Tag20C_Reference_A1
        {
          get
          {
            return this.Reference_A1_20C;
          }
        }

        [Description("End of Block")]
        public Tag16S EndOfBlock_A1_16S
        {
          get
          {
            return new Tag16S((SwiftElement) this, 0, (SwiftDefinitionElement) MT537.U0005U0002);
          }
        }

        [Description("End of Block")]
        public Tag16S Tag16S_EndOfBlock_A1
        {
          get
          {
            return this.EndOfBlock_A1_16S;
          }
        }

        internal SequenceA1Class(SwiftElement parent, int index, bool createTags)
          : base(parent, index, createTags)
        {
        }
      }

      public class Tag95P : SwiftTagWrapper
      {
        public string Value
        {
          get
          {
            return this.GetValue();
          }
          set
          {
            this.SetValue("95P", value);
          }
        }

        internal Tag95P(SwiftElement parent, int index, SwiftDefinitionElement definition)
          : base(parent, index, definition)
        {
        }
      }

      public class Tag95R : SwiftTagWrapper
      {
        public string Value
        {
          get
          {
            return this.GetValue();
          }
          set
          {
            this.SetValue("95R", value);
          }
        }

        internal Tag95R(SwiftElement parent, int index, SwiftDefinitionElement definition)
          : base(parent, index, definition)
        {
        }
      }
    }

    public class SequenceBClass : SwiftTagSequence
    {
      internal override SwiftDefinitionElement Definition
      {
        get
        {
          return (SwiftDefinitionElement) MT537.U0081U0002;
        }
      }

      [Description("Start of Block")]
      public Tag16R StartOfBlock_B_16R
      {
        get
        {
          return new Tag16R((SwiftElement) this, 0, (SwiftDefinitionElement) MT537.U0082U0002);
        }
      }

      [Description("Start of Block")]
      public Tag16R Tag16R_StartOfBlock_B
      {
        get
        {
          return this.StartOfBlock_B_16R;
        }
      }

      [Description("Status")]
      public Tag25D Status_B_25D
      {
        get
        {
          return new Tag25D((SwiftElement) this, 0, (SwiftDefinitionElement) MT537.U0084U0002);
        }
      }

      [Description("Status")]
      public Tag25D Tag25D_Status_B
      {
        get
        {
          return this.Status_B_25D;
        }
      }

      [Description("Reason")]
      public MT537.SequenceBClass.SequenceB1Class[] SequenceB1
      {
        get
        {
          int index = -1;
          List<MT537.SequenceBClass.SequenceB1Class> list = new List<MT537.SequenceBClass.SequenceB1Class>();
          int count;
          do
          {
            ++index;
            MT537.SequenceBClass.SequenceB1Class sequenceB1Class = new MT537.SequenceBClass.SequenceB1Class((SwiftElement) this, index, false);
            count = this.ListTags((SwiftElement) sequenceB1Class).Count;
            if (count > 0)
              list.Add(sequenceB1Class);
          }
          while (count > 0);
          return list.ToArray();
        }
      }

      [Description("Transaction")]
      public MT537.SequenceBClass.SequenceB2Class[] SequenceB2
      {
        get
        {
          int index = -1;
          List<MT537.SequenceBClass.SequenceB2Class> list = new List<MT537.SequenceBClass.SequenceB2Class>();
          int count;
          do
          {
            ++index;
            MT537.SequenceBClass.SequenceB2Class sequenceB2Class = new MT537.SequenceBClass.SequenceB2Class((SwiftElement) this, index, false);
            count = this.ListTags((SwiftElement) sequenceB2Class).Count;
            if (count > 0)
              list.Add(sequenceB2Class);
          }
          while (count > 0);
          return list.ToArray();
        }
      }

      [Description("End of Block")]
      public Tag16S EndOfBlock_B_16S
      {
        get
        {
          return new Tag16S((SwiftElement) this, 0, (SwiftDefinitionElement) MT537.U008FU0004);
        }
      }

      [Description("End of Block")]
      public Tag16S Tag16S_EndOfBlock_B
      {
        get
        {
          return this.EndOfBlock_B_16S;
        }
      }

      internal SequenceBClass(SwiftElement parent, int index, bool createTags)
        : base(parent, index, createTags)
      {
      }

      public MT537.SequenceBClass.SequenceB1Class AddSequenceB1()
      {
        return new MT537.SequenceBClass.SequenceB1Class((SwiftElement) this, this.SequenceB1.Length, true);
      }

      public void RemoveSequenceB1(MT537.SequenceBClass.SequenceB1Class sequence)
      {
        foreach (SwiftTag tag in this.ListTags((SwiftElement) sequence))
          this.RemoveTag(tag);
      }

      public MT537.SequenceBClass.SequenceB2Class AddSequenceB2()
      {
        return new MT537.SequenceBClass.SequenceB2Class((SwiftElement) this, this.SequenceB2.Length, true);
      }

      public void RemoveSequenceB2(MT537.SequenceBClass.SequenceB2Class sequence)
      {
        foreach (SwiftTag tag in this.ListTags((SwiftElement) sequence))
          this.RemoveTag(tag);
      }

      public class SequenceB1Class : SwiftTagSequence
      {
        internal override SwiftDefinitionElement Definition
        {
          get
          {
            return (SwiftDefinitionElement) MT537.U0089U0002;
          }
        }

        [Description("Start of Block")]
        public Tag16R StartOfBlock_B1_16R
        {
          get
          {
            return new Tag16R((SwiftElement) this, 0, (SwiftDefinitionElement) MT537.U008AU0002);
          }
        }

        [Description("Start of Block")]
        public Tag16R Tag16R_StartOfBlock_B1
        {
          get
          {
            return this.StartOfBlock_B1_16R;
          }
        }

        [Description("Reason")]
        public Tag24B Reason_B1_24B
        {
          get
          {
            return new Tag24B((SwiftElement) this, 0, (SwiftDefinitionElement) MT537.U008CU0002);
          }
        }

        [Description("Reason")]
        public Tag24B Tag24B_Reason_B1
        {
          get
          {
            return this.Reason_B1_24B;
          }
        }

        [Description("Reason Narrative")]
        public Tag70D Narrative_B1_70D
        {
          get
          {
            return new Tag70D((SwiftElement) this, 0, (SwiftDefinitionElement) MT537.U0090U0002);
          }
        }

        [Description("Reason Narrative")]
        public Tag70D Tag70D_Narrative_B1
        {
          get
          {
            return this.Narrative_B1_70D;
          }
        }

        [Description("End of Block")]
        public Tag16S EndOfBlock_B1_16S
        {
          get
          {
            return new Tag16S((SwiftElement) this, 0, (SwiftDefinitionElement) MT537.U0093U0002);
          }
        }

        [Description("End of Block")]
        public Tag16S Tag16S_EndOfBlock_B1
        {
          get
          {
            return this.EndOfBlock_B1_16S;
          }
        }

        internal SequenceB1Class(SwiftElement parent, int index, bool createTags)
          : base(parent, index, createTags)
        {
        }
      }

      public class SequenceB2Class : SwiftTagSequence
      {
        internal override SwiftDefinitionElement Definition
        {
          get
          {
            return (SwiftDefinitionElement) MT537.U0095U0002;
          }
        }

        [Description("Start of Block")]
        public Tag16R StartOfBlock_B2_16R
        {
          get
          {
            return new Tag16R((SwiftElement) this, 0, (SwiftDefinitionElement) MT537.U0096U0002);
          }
        }

        [Description("Start of Block")]
        public Tag16R Tag16R_StartOfBlock_B2
        {
          get
          {
            return this.StartOfBlock_B2_16R;
          }
        }

        [Description("Linkages")]
        public MT537.SequenceBClass.SequenceB2Class.SequenceB2aClass[] SequenceB2a
        {
          get
          {
            int index = -1;
            List<MT537.SequenceBClass.SequenceB2Class.SequenceB2aClass> list = new List<MT537.SequenceBClass.SequenceB2Class.SequenceB2aClass>();
            int count;
            do
            {
              ++index;
              MT537.SequenceBClass.SequenceB2Class.SequenceB2aClass sequenceB2aClass = new MT537.SequenceBClass.SequenceB2Class.SequenceB2aClass((SwiftElement) this, index, false);
              count = this.ListTags((SwiftElement) sequenceB2aClass).Count;
              if (count > 0)
                list.Add(sequenceB2aClass);
            }
            while (count > 0);
            return list.ToArray();
          }
        }

        [Description("Transaction Details")]
        public MT537.SequenceBClass.SequenceB2Class.SequenceB2bClass SequenceB2b
        {
          get
          {
            MT537.SequenceBClass.SequenceB2Class.SequenceB2bClass sequenceB2bClass = new MT537.SequenceBClass.SequenceB2Class.SequenceB2bClass((SwiftElement) this, 0, false);
            if (this.ListTags((SwiftElement) sequenceB2bClass).Count > 0)
              return sequenceB2bClass;
            else
              return (MT537.SequenceBClass.SequenceB2Class.SequenceB2bClass) null;
          }
        }

        [Description("End of Block")]
        public Tag16S EndOfBlock_B2_16S
        {
          get
          {
            return new Tag16S((SwiftElement) this, 0, (SwiftDefinitionElement) MT537.U008DU0004);
          }
        }

        [Description("End of Block")]
        public Tag16S Tag16S_EndOfBlock_B2
        {
          get
          {
            return this.EndOfBlock_B2_16S;
          }
        }

        internal SequenceB2Class(SwiftElement parent, int index, bool createTags)
          : base(parent, index, createTags)
        {
        }

        public MT537.SequenceBClass.SequenceB2Class.SequenceB2aClass AddSequenceB2a()
        {
          return new MT537.SequenceBClass.SequenceB2Class.SequenceB2aClass((SwiftElement) this, this.SequenceB2a.Length, true);
        }

        public void RemoveSequenceB2a(MT537.SequenceBClass.SequenceB2Class.SequenceB2aClass sequence)
        {
          foreach (SwiftTag tag in this.ListTags((SwiftElement) sequence))
            this.RemoveTag(tag);
        }

        public MT537.SequenceBClass.SequenceB2Class.SequenceB2bClass AddSequenceB2b()
        {
          return this.SequenceB2b ?? new MT537.SequenceBClass.SequenceB2Class.SequenceB2bClass((SwiftElement) this, 0, true);
        }

        public void RemoveSequenceB2b(MT537.SequenceBClass.SequenceB2Class.SequenceB2bClass sequence)
        {
          foreach (SwiftTag tag in this.ListTags((SwiftElement) sequence))
            this.RemoveTag(tag);
        }

        public class SequenceB2aClass : SwiftTagSequence
        {
          internal override SwiftDefinitionElement Definition
          {
            get
            {
              return (SwiftDefinitionElement) MT537.U0098U0002;
            }
          }

          [Description("Start of Block")]
          public Tag16R StartOfBlock_B2a_16R
          {
            get
            {
              return new Tag16R((SwiftElement) this, 0, (SwiftDefinitionElement) MT537.U0099U0002);
            }
          }

          [Description("Start of Block")]
          public Tag16R Tag16R_StartOfBlock_B2a
          {
            get
            {
              return this.StartOfBlock_B2a_16R;
            }
          }

          [Description("Linked Message")]
          public Tag13B NumberIdentification_B2a_13B
          {
            get
            {
              return new Tag13B((SwiftElement) this, 0, (SwiftDefinitionElement) MT537.U009CU0002);
            }
          }

          [Description("Linked Message")]
          public Tag13B Tag13B_NumberIdentification_B2a
          {
            get
            {
              return this.NumberIdentification_B2a_13B;
            }
          }

          [Description("Linked Transaction")]
          public Tag13A NumberIdentification_B2a_13A
          {
            get
            {
              return new Tag13A((SwiftElement) this, 0, (SwiftDefinitionElement) MT537.U0001U0003);
            }
          }

          [Description("Linked Transaction")]
          public Tag13A Tag13A_NumberIdentification_B2a
          {
            get
            {
              return this.NumberIdentification_B2a_13A;
            }
          }

          [Description("Reference")]
          public Tag20C Reference_B2a_20C
          {
            get
            {
              return new Tag20C((SwiftElement) this, 0, (SwiftDefinitionElement) MT537.U0004U0003);
            }
          }

          [Description("Reference")]
          public Tag20C Tag20C_Reference_B2a
          {
            get
            {
              return this.Reference_B2a_20C;
            }
          }

          [Description("End of Block")]
          public Tag16S EndOfBlock_B2a_16S
          {
            get
            {
              return new Tag16S((SwiftElement) this, 0, (SwiftDefinitionElement) MT537.U0007U0003);
            }
          }

          [Description("End of Block")]
          public Tag16S Tag16S_EndOfBlock_B2a
          {
            get
            {
              return this.EndOfBlock_B2a_16S;
            }
          }

          internal SequenceB2aClass(SwiftElement parent, int index, bool createTags)
            : base(parent, index, createTags)
          {
          }
        }

        public class SequenceB2bClass : SwiftTagSequence
        {
          internal override SwiftDefinitionElement Definition
          {
            get
            {
              return (SwiftDefinitionElement) MT537.U000EU0003;
            }
          }

          [Description("Start of Block")]
          public Tag16R StartOfBlock_B2b_16R
          {
            get
            {
              return new Tag16R((SwiftElement) this, 0, (SwiftDefinitionElement) MT537.U000FU0003);
            }
          }

          [Description("Start of Block")]
          public Tag16R Tag16R_StartOfBlock_B2b
          {
            get
            {
              return this.StartOfBlock_B2b_16R;
            }
          }

          [Description("Place")]
          public Tag94C[] Place_B2b_94C
          {
            get
            {
              int index = -1;
              List<Tag94C> list = new List<Tag94C>();
              int count;
              do
              {
                ++index;
                Tag94C tag94C = new Tag94C((SwiftElement) this, index, (SwiftDefinitionElement) MT537.U0012U0003);
                count = this.ListTags((SwiftElement) tag94C).Count;
                if (count > 0)
                  list.Add(tag94C);
              }
              while (count > 0);
              return list.ToArray();
            }
          }

          [Description("Place")]
          public Tag94C[] Tag94C_Place_B2b
          {
            get
            {
              return this.Place_B2b_94C;
            }
          }

          [Description("Place")]
          public MT537.SequenceBClass.SequenceB2Class.SequenceB2bClass.Tag94B[] Place_B2b_94B
          {
            get
            {
              int index = -1;
              List<MT537.SequenceBClass.SequenceB2Class.SequenceB2bClass.Tag94B> list = new List<MT537.SequenceBClass.SequenceB2Class.SequenceB2bClass.Tag94B>();
              int count;
              do
              {
                ++index;
                MT537.SequenceBClass.SequenceB2Class.SequenceB2bClass.Tag94B tag94B = new MT537.SequenceBClass.SequenceB2Class.SequenceB2bClass.Tag94B((SwiftElement) this, index, (SwiftDefinitionElement) MT537.U0015U0003);
                count = this.ListTags((SwiftElement) tag94B).Count;
                if (count > 0)
                  list.Add(tag94B);
              }
              while (count > 0);
              return list.ToArray();
            }
          }

          [Description("Place")]
          public MT537.SequenceBClass.SequenceB2Class.SequenceB2bClass.Tag94B[] Tag94B_Place_B2b
          {
            get
            {
              return this.Place_B2b_94B;
            }
          }

          [Description("Place")]
          public Tag94F[] Place_B2b_94F
          {
            get
            {
              int index = -1;
              List<Tag94F> list = new List<Tag94F>();
              int count;
              do
              {
                ++index;
                Tag94F tag94F = new Tag94F((SwiftElement) this, index, (SwiftDefinitionElement) MT537.U001AU0003);
                count = this.ListTags((SwiftElement) tag94F).Count;
                if (count > 0)
                  list.Add(tag94F);
              }
              while (count > 0);
              return list.ToArray();
            }
          }

          [Description("Place")]
          public Tag94F[] Tag94F_Place_B2b
          {
            get
            {
              return this.Place_B2b_94F;
            }
          }

          [Description("Place of Clearing")]
          public Tag94H[] Place_B2b_94H
          {
            get
            {
              int index = -1;
              List<Tag94H> list = new List<Tag94H>();
              int count;
              do
              {
                ++index;
                Tag94H tag94H = new Tag94H((SwiftElement) this, index, (SwiftDefinitionElement) MT537.U001FU0003);
                count = this.ListTags((SwiftElement) tag94H).Count;
                if (count > 0)
                  list.Add(tag94H);
              }
              while (count > 0);
              return list.ToArray();
            }
          }

          [Description("Place of Clearing")]
          public Tag94H[] Tag94H_Place_B2b
          {
            get
            {
              return this.Place_B2b_94H;
            }
          }

          [Description("Identification of the Financial Instrument")]
          public Tag35B IdentificationOfFinancialInstrument_B2b_35B
          {
            get
            {
              return new Tag35B((SwiftElement) this, 0, (SwiftDefinitionElement) MT537.U0081U0003);
            }
          }

          [Description("Identification of the Financial Instrument")]
          public Tag35B Tag35B_IdentificationOfFinancialInstrument_B2b
          {
            get
            {
              return this.IdentificationOfFinancialInstrument_B2b_35B;
            }
          }

          [Description("Posting Quantity")]
          public Tag36B[] QuantityOfFinancialInstrument_B2b_36B
          {
            get
            {
              int index = -1;
              List<Tag36B> list = new List<Tag36B>();
              int count;
              do
              {
                ++index;
                Tag36B tag36B = new Tag36B((SwiftElement) this, index, (SwiftDefinitionElement) MT537.U0086U0003);
                count = this.ListTags((SwiftElement) tag36B).Count;
                if (count > 0)
                  list.Add(tag36B);
              }
              while (count > 0);
              return list.ToArray();
            }
          }

          [Description("Posting Quantity")]
          public Tag36B[] Tag36B_QuantityOfFinancialInstrument_B2b
          {
            get
            {
              return this.QuantityOfFinancialInstrument_B2b_36B;
            }
          }

          [Description("Amount")]
          public Tag19A[] Amount_B2b_19A
          {
            get
            {
              int index = -1;
              List<Tag19A> list = new List<Tag19A>();
              int count;
              do
              {
                ++index;
                Tag19A tag19A = new Tag19A((SwiftElement) this, index, (SwiftDefinitionElement) MT537.U008BU0003);
                count = this.ListTags((SwiftElement) tag19A).Count;
                if (count > 0)
                  list.Add(tag19A);
              }
              while (count > 0);
              return list.ToArray();
            }
          }

          [Description("Amount")]
          public Tag19A[] Tag19A_Amount_B2b
          {
            get
            {
              return this.Amount_B2b_19A;
            }
          }

          [Description("Indicator")]
          public MT537.SequenceBClass.SequenceB2Class.SequenceB2bClass.Tag22H[] Indicator_B2b_22H
          {
            get
            {
              int index = -1;
              List<MT537.SequenceBClass.SequenceB2Class.SequenceB2bClass.Tag22H> list = new List<MT537.SequenceBClass.SequenceB2Class.SequenceB2bClass.Tag22H>();
              int count;
              do
              {
                ++index;
                MT537.SequenceBClass.SequenceB2Class.SequenceB2bClass.Tag22H tag22H = new MT537.SequenceBClass.SequenceB2Class.SequenceB2bClass.Tag22H((SwiftElement) this, index, (SwiftDefinitionElement) MT537.U008FU0003);
                count = this.ListTags((SwiftElement) tag22H).Count;
                if (count > 0)
                  list.Add(tag22H);
              }
              while (count > 0);
              return list.ToArray();
            }
          }

          [Description("Indicator")]
          public MT537.SequenceBClass.SequenceB2Class.SequenceB2bClass.Tag22H[] Tag22H_Indicator_B2b
          {
            get
            {
              return this.Indicator_B2b_22H;
            }
          }

          [Description("Indicator")]
          public Tag22F[] Indicator_B2b_22F
          {
            get
            {
              int index = -1;
              List<Tag22F> list = new List<Tag22F>();
              int count;
              do
              {
                ++index;
                Tag22F tag22F = new Tag22F((SwiftElement) this, index, (SwiftDefinitionElement) MT537.U0092U0003);
                count = this.ListTags((SwiftElement) tag22F).Count;
                if (count > 0)
                  list.Add(tag22F);
              }
              while (count > 0);
              return list.ToArray();
            }
          }

          [Description("Indicator")]
          public Tag22F[] Tag22F_Indicator_B2b
          {
            get
            {
              return this.Indicator_B2b_22F;
            }
          }

          [Description("Date")]
          public Tag98A[] Date_B2b_98A
          {
            get
            {
              int index = -1;
              List<Tag98A> list = new List<Tag98A>();
              int count;
              do
              {
                ++index;
                Tag98A tag98A = new Tag98A((SwiftElement) this, index, (SwiftDefinitionElement) MT537.U0097U0003);
                count = this.ListTags((SwiftElement) tag98A).Count;
                if (count > 0)
                  list.Add(tag98A);
              }
              while (count > 0);
              return list.ToArray();
            }
          }

          [Description("Date")]
          public Tag98A[] Tag98A_Date_B2b
          {
            get
            {
              return this.Date_B2b_98A;
            }
          }

          [Description("Date/Time")]
          public Tag98C[] DateTime_B2b_98C
          {
            get
            {
              int index = -1;
              List<Tag98C> list = new List<Tag98C>();
              int count;
              do
              {
                ++index;
                Tag98C tag98C = new Tag98C((SwiftElement) this, index, (SwiftDefinitionElement) MT537.U009AU0003);
                count = this.ListTags((SwiftElement) tag98C).Count;
                if (count > 0)
                  list.Add(tag98C);
              }
              while (count > 0);
              return list.ToArray();
            }
          }

          [Description("Date/Time")]
          public Tag98C[] Tag98C_DateTime_B2b
          {
            get
            {
              return this.DateTime_B2b_98C;
            }
          }

          [Description("Date Code")]
          public Tag98B[] DateCode_B2b_98B
          {
            get
            {
              int index = -1;
              List<Tag98B> list = new List<Tag98B>();
              int count;
              do
              {
                ++index;
                Tag98B tag98B = new Tag98B((SwiftElement) this, index, (SwiftDefinitionElement) MT537.U009FU0003);
                count = this.ListTags((SwiftElement) tag98B).Count;
                if (count > 0)
                  list.Add(tag98B);
              }
              while (count > 0);
              return list.ToArray();
            }
          }

          [Description("Date Code")]
          public Tag98B[] Tag98B_DateCode_B2b
          {
            get
            {
              return this.DateCode_B2b_98B;
            }
          }

          [Description("Transaction Details Narrative")]
          public Tag70E Narrative_B2b_70E
          {
            get
            {
              return new Tag70E((SwiftElement) this, 0, (SwiftDefinitionElement) MT537.U0004U0004);
            }
          }

          [Description("Transaction Details Narrative")]
          public Tag70E Tag70E_Narrative_B2b
          {
            get
            {
              return this.Narrative_B2b_70E;
            }
          }

          [Description("Settlement Parties")]
          public MT537.SequenceBClass.SequenceB2Class.SequenceB2bClass.SequenceB2b1Class[] SequenceB2b1
          {
            get
            {
              int index = -1;
              List<MT537.SequenceBClass.SequenceB2Class.SequenceB2bClass.SequenceB2b1Class> list = new List<MT537.SequenceBClass.SequenceB2Class.SequenceB2bClass.SequenceB2b1Class>();
              int count;
              do
              {
                ++index;
                MT537.SequenceBClass.SequenceB2Class.SequenceB2bClass.SequenceB2b1Class sequenceB2b1Class = new MT537.SequenceBClass.SequenceB2Class.SequenceB2bClass.SequenceB2b1Class((SwiftElement) this, index, false);
                count = this.ListTags((SwiftElement) sequenceB2b1Class).Count;
                if (count > 0)
                  list.Add(sequenceB2b1Class);
              }
              while (count > 0);
              return list.ToArray();
            }
          }

          [Description("End of Block")]
          public Tag16S EndOfBlock_B2b_16S
          {
            get
            {
              return new Tag16S((SwiftElement) this, 0, (SwiftDefinitionElement) MT537.U008BU0004);
            }
          }

          [Description("End of Block")]
          public Tag16S Tag16S_EndOfBlock_B2b
          {
            get
            {
              return this.EndOfBlock_B2b_16S;
            }
          }

          internal SequenceB2bClass(SwiftElement parent, int index, bool createTags)
            : base(parent, index, createTags)
          {
          }

          public Tag94C AddPlace_B2b_94C()
          {
            return new Tag94C((SwiftElement) this, this.Place_B2b_94C.Length, (SwiftDefinitionElement) MT537.U0012U0003)
            {
              Value = string.Empty
            };
          }

          public void RemovePlace_B2b_94C(Tag94C tag)
          {
            this.RemoveTag(tag.GetTag());
          }

          public MT537.SequenceBClass.SequenceB2Class.SequenceB2bClass.Tag94B AddPlace_B2b_94B()
          {
            return new MT537.SequenceBClass.SequenceB2Class.SequenceB2bClass.Tag94B((SwiftElement) this, this.Place_B2b_94B.Length, (SwiftDefinitionElement) MT537.U0015U0003)
            {
              Value = string.Empty
            };
          }

          public void RemovePlace_B2b_94B(MT537.SequenceBClass.SequenceB2Class.SequenceB2bClass.Tag94B tag)
          {
            this.RemoveTag(tag.GetTag());
          }

          public Tag94F AddPlace_B2b_94F()
          {
            return new Tag94F((SwiftElement) this, this.Place_B2b_94F.Length, (SwiftDefinitionElement) MT537.U001AU0003)
            {
              Value = string.Empty
            };
          }

          public void RemovePlace_B2b_94F(Tag94F tag)
          {
            this.RemoveTag(tag.GetTag());
          }

          public Tag94H AddPlace_B2b_94H()
          {
            return new Tag94H((SwiftElement) this, this.Place_B2b_94H.Length, (SwiftDefinitionElement) MT537.U001FU0003)
            {
              Value = string.Empty
            };
          }

          public void RemovePlace_B2b_94H(Tag94H tag)
          {
            this.RemoveTag(tag.GetTag());
          }

          public Tag36B AddQuantityOfFinancialInstrument_B2b_36B()
          {
            return new Tag36B((SwiftElement) this, this.QuantityOfFinancialInstrument_B2b_36B.Length, (SwiftDefinitionElement) MT537.U0086U0003)
            {
              Value = string.Empty
            };
          }

          public void RemoveQuantityOfFinancialInstrument_B2b_36B(Tag36B tag)
          {
            this.RemoveTag(tag.GetTag());
          }

          public Tag19A AddAmount_B2b_19A()
          {
            return new Tag19A((SwiftElement) this, this.Amount_B2b_19A.Length, (SwiftDefinitionElement) MT537.U008BU0003)
            {
              Value = string.Empty
            };
          }

          public void RemoveAmount_B2b_19A(Tag19A tag)
          {
            this.RemoveTag(tag.GetTag());
          }

          public MT537.SequenceBClass.SequenceB2Class.SequenceB2bClass.Tag22H AddIndicator_B2b_22H()
          {
            return new MT537.SequenceBClass.SequenceB2Class.SequenceB2bClass.Tag22H((SwiftElement) this, this.Indicator_B2b_22H.Length, (SwiftDefinitionElement) MT537.U008FU0003)
            {
              Value = string.Empty
            };
          }

          public void RemoveIndicator_B2b_22H(MT537.SequenceBClass.SequenceB2Class.SequenceB2bClass.Tag22H tag)
          {
            this.RemoveTag(tag.GetTag());
          }

          public Tag22F AddIndicator_B2b_22F()
          {
            return new Tag22F((SwiftElement) this, this.Indicator_B2b_22F.Length, (SwiftDefinitionElement) MT537.U0092U0003)
            {
              Value = string.Empty
            };
          }

          public void RemoveIndicator_B2b_22F(Tag22F tag)
          {
            this.RemoveTag(tag.GetTag());
          }

          public Tag98A AddDate_B2b_98A()
          {
            return new Tag98A((SwiftElement) this, this.Date_B2b_98A.Length, (SwiftDefinitionElement) MT537.U0097U0003)
            {
              Value = string.Empty
            };
          }

          public void RemoveDate_B2b_98A(Tag98A tag)
          {
            this.RemoveTag(tag.GetTag());
          }

          public Tag98C AddDateTime_B2b_98C()
          {
            return new Tag98C((SwiftElement) this, this.DateTime_B2b_98C.Length, (SwiftDefinitionElement) MT537.U009AU0003)
            {
              Value = string.Empty
            };
          }

          public void RemoveDateTime_B2b_98C(Tag98C tag)
          {
            this.RemoveTag(tag.GetTag());
          }

          public Tag98B AddDateCode_B2b_98B()
          {
            return new Tag98B((SwiftElement) this, this.DateCode_B2b_98B.Length, (SwiftDefinitionElement) MT537.U009FU0003)
            {
              Value = string.Empty
            };
          }

          public void RemoveDateCode_B2b_98B(Tag98B tag)
          {
            this.RemoveTag(tag.GetTag());
          }

          public MT537.SequenceBClass.SequenceB2Class.SequenceB2bClass.SequenceB2b1Class AddSequenceB2b1()
          {
            return new MT537.SequenceBClass.SequenceB2Class.SequenceB2bClass.SequenceB2b1Class((SwiftElement) this, this.SequenceB2b1.Length, true);
          }

          public void RemoveSequenceB2b1(MT537.SequenceBClass.SequenceB2Class.SequenceB2bClass.SequenceB2b1Class sequence)
          {
            foreach (SwiftTag tag in this.ListTags((SwiftElement) sequence))
              this.RemoveTag(tag);
          }

          public class Tag94B : SwiftTagWrapper
          {
            public string Value
            {
              get
              {
                return this.GetValue();
              }
              set
              {
                this.SetValue("94B", value);
              }
            }

            internal Tag94B(SwiftElement parent, int index, SwiftDefinitionElement definition)
              : base(parent, index, definition)
            {
            }
          }

          public class Tag22H : SwiftTagWrapper
          {
            public string Value
            {
              get
              {
                return this.GetValue();
              }
              set
              {
                this.SetValue("22H", value);
              }
            }

            internal Tag22H(SwiftElement parent, int index, SwiftDefinitionElement definition)
              : base(parent, index, definition)
            {
            }
          }

          public class SequenceB2b1Class : SwiftTagSequence
          {
            internal override SwiftDefinitionElement Definition
            {
              get
              {
                return (SwiftDefinitionElement) MT537.U0007U0004;
              }
            }

            [Description("Start of Block")]
            public Tag16R StartOfBlock_B2b1_16R
            {
              get
              {
                return new Tag16R((SwiftElement) this, 0, (SwiftDefinitionElement) MT537.U0008U0004);
              }
            }

            [Description("Start of Block")]
            public Tag16R Tag16R_StartOfBlock_B2b1
            {
              get
              {
                return this.StartOfBlock_B2b1_16R;
              }
            }

            [Description("Party")]
            public Tag95C Party_B2b1_95C
            {
              get
              {
                return new Tag95C((SwiftElement) this, 0, (SwiftDefinitionElement) MT537.U0010U0004);
              }
            }

            [Description("Party")]
            public Tag95C Tag95C_Party_B2b1
            {
              get
              {
                return this.Party_B2b1_95C;
              }
            }

            [Description("Party")]
            public Tag95P Party_B2b1_95P
            {
              get
              {
                return new Tag95P((SwiftElement) this, 0, (SwiftDefinitionElement) MT537.U0013U0004);
              }
            }

            [Description("Party")]
            public Tag95P Tag95P_Party_B2b1
            {
              get
              {
                return this.Party_B2b1_95P;
              }
            }

            [Description("Party")]
            public Tag95R Party_B2b1_95R
            {
              get
              {
                return new Tag95R((SwiftElement) this, 0, (SwiftDefinitionElement) MT537.U0016U0004);
              }
            }

            [Description("Party")]
            public Tag95R Tag95R_Party_B2b1
            {
              get
              {
                return this.Party_B2b1_95R;
              }
            }

            [Description("Party")]
            public Tag95Q Party_B2b1_95Q
            {
              get
              {
                return new Tag95Q((SwiftElement) this, 0, (SwiftDefinitionElement) MT537.U001AU0004);
              }
            }

            [Description("Party")]
            public Tag95Q Tag95Q_Party_B2b1
            {
              get
              {
                return this.Party_B2b1_95Q;
              }
            }

            [Description("Safekeeping Account")]
            public Tag97A Account_B2b1_97A
            {
              get
              {
                return new Tag97A((SwiftElement) this, 0, (SwiftDefinitionElement) MT537.U001EU0004);
              }
            }

            [Description("Safekeeping Account")]
            public Tag97A Tag97A_Account_B2b1
            {
              get
              {
                return this.Account_B2b1_97A;
              }
            }

            [Description("Safekeeping Account")]
            public Tag97B Account_B2b1_97B
            {
              get
              {
                return new Tag97B((SwiftElement) this, 0, (SwiftDefinitionElement) MT537.U0080U0004);
              }
            }

            [Description("Safekeeping Account")]
            public Tag97B Tag97B_Account_B2b1
            {
              get
              {
                return this.Account_B2b1_97B;
              }
            }

            [Description("Processing Reference")]
            public Tag20C Reference_B2b1_20C
            {
              get
              {
                return new Tag20C((SwiftElement) this, 0, (SwiftDefinitionElement) MT537.U0086U0004);
              }
            }

            [Description("Processing Reference")]
            public Tag20C Tag20C_Reference_B2b1
            {
              get
              {
                return this.Reference_B2b1_20C;
              }
            }

            [Description("End of Block")]
            public Tag16S EndOfBlock_B2b1_16S
            {
              get
              {
                return new Tag16S((SwiftElement) this, 0, (SwiftDefinitionElement) MT537.U0089U0004);
              }
            }

            [Description("End of Block")]
            public Tag16S Tag16S_EndOfBlock_B2b1
            {
              get
              {
                return this.EndOfBlock_B2b1_16S;
              }
            }

            internal SequenceB2b1Class(SwiftElement parent, int index, bool createTags)
              : base(parent, index, createTags)
            {
            }
          }
        }
      }
    }

    public class SequenceCClass : SwiftTagSequence
    {
      internal override SwiftDefinitionElement Definition
      {
        get
        {
          return (SwiftDefinitionElement) MT537.U0091U0004;
        }
      }

      [Description("Start of Block")]
      public Tag16R StartOfBlock_C_16R
      {
        get
        {
          return new Tag16R((SwiftElement) this, 0, (SwiftDefinitionElement) MT537.U0092U0004);
        }
      }

      [Description("Start of Block")]
      public Tag16R Tag16R_StartOfBlock_C
      {
        get
        {
          return this.StartOfBlock_C_16R;
        }
      }

      [Description("Linkages")]
      public MT537.SequenceCClass.SequenceC1Class[] SequenceC1
      {
        get
        {
          int index = -1;
          List<MT537.SequenceCClass.SequenceC1Class> list = new List<MT537.SequenceCClass.SequenceC1Class>();
          int count;
          do
          {
            ++index;
            MT537.SequenceCClass.SequenceC1Class sequenceC1Class = new MT537.SequenceCClass.SequenceC1Class((SwiftElement) this, index, false);
            count = this.ListTags((SwiftElement) sequenceC1Class).Count;
            if (count > 0)
              list.Add(sequenceC1Class);
          }
          while (count > 0);
          return list.ToArray();
        }
      }

      [Description("Transaction Details")]
      public MT537.SequenceCClass.SequenceC2Class SequenceC2
      {
        get
        {
          MT537.SequenceCClass.SequenceC2Class sequenceC2Class = new MT537.SequenceCClass.SequenceC2Class((SwiftElement) this, 0, false);
          if (this.ListTags((SwiftElement) sequenceC2Class).Count > 0)
            return sequenceC2Class;
          else
            return (MT537.SequenceCClass.SequenceC2Class) null;
        }
      }

      [Description("Status")]
      public MT537.SequenceCClass.SequenceC3Class[] SequenceC3
      {
        get
        {
          int index = -1;
          List<MT537.SequenceCClass.SequenceC3Class> list = new List<MT537.SequenceCClass.SequenceC3Class>();
          int count;
          do
          {
            ++index;
            MT537.SequenceCClass.SequenceC3Class sequenceC3Class = new MT537.SequenceCClass.SequenceC3Class((SwiftElement) this, index, false);
            count = this.ListTags((SwiftElement) sequenceC3Class).Count;
            if (count > 0)
              list.Add(sequenceC3Class);
          }
          while (count > 0);
          return list.ToArray();
        }
      }

      [Description("End of Block")]
      public Tag16S EndOfBlock_C_16S
      {
        get
        {
          return new Tag16S((SwiftElement) this, 0, (SwiftDefinitionElement) MT537.U009EU0006);
        }
      }

      [Description("End of Block")]
      public Tag16S Tag16S_EndOfBlock_C
      {
        get
        {
          return this.EndOfBlock_C_16S;
        }
      }

      internal SequenceCClass(SwiftElement parent, int index, bool createTags)
        : base(parent, index, createTags)
      {
      }

      public MT537.SequenceCClass.SequenceC1Class AddSequenceC1()
      {
        return new MT537.SequenceCClass.SequenceC1Class((SwiftElement) this, this.SequenceC1.Length, true);
      }

      public void RemoveSequenceC1(MT537.SequenceCClass.SequenceC1Class sequence)
      {
        foreach (SwiftTag tag in this.ListTags((SwiftElement) sequence))
          this.RemoveTag(tag);
      }

      public MT537.SequenceCClass.SequenceC2Class AddSequenceC2()
      {
        return this.SequenceC2 ?? new MT537.SequenceCClass.SequenceC2Class((SwiftElement) this, 0, true);
      }

      public void RemoveSequenceC2(MT537.SequenceCClass.SequenceC2Class sequence)
      {
        foreach (SwiftTag tag in this.ListTags((SwiftElement) sequence))
          this.RemoveTag(tag);
      }

      public MT537.SequenceCClass.SequenceC3Class AddSequenceC3()
      {
        return new MT537.SequenceCClass.SequenceC3Class((SwiftElement) this, this.SequenceC3.Length, true);
      }

      public void RemoveSequenceC3(MT537.SequenceCClass.SequenceC3Class sequence)
      {
        foreach (SwiftTag tag in this.ListTags((SwiftElement) sequence))
          this.RemoveTag(tag);
      }

      public class SequenceC1Class : SwiftTagSequence
      {
        internal override SwiftDefinitionElement Definition
        {
          get
          {
            return (SwiftDefinitionElement) MT537.U0094U0004;
          }
        }

        [Description("Start of Block")]
        public Tag16R StartOfBlock_C1_16R
        {
          get
          {
            return new Tag16R((SwiftElement) this, 0, (SwiftDefinitionElement) MT537.U0095U0004);
          }
        }

        [Description("Start of Block")]
        public Tag16R Tag16R_StartOfBlock_C1
        {
          get
          {
            return this.StartOfBlock_C1_16R;
          }
        }

        [Description("Linked Message")]
        public Tag13B NumberIdentification_C1_13B
        {
          get
          {
            return new Tag13B((SwiftElement) this, 0, (SwiftDefinitionElement) MT537.U0098U0004);
          }
        }

        [Description("Linked Message")]
        public Tag13B Tag13B_NumberIdentification_C1
        {
          get
          {
            return this.NumberIdentification_C1_13B;
          }
        }

        [Description("Linked Message")]
        public Tag13A NumberIdentification_C1_13A
        {
          get
          {
            return new Tag13A((SwiftElement) this, 0, (SwiftDefinitionElement) MT537.U009CU0004);
          }
        }

        [Description("Linked Message")]
        public Tag13A Tag13A_NumberIdentification_C1
        {
          get
          {
            return this.NumberIdentification_C1_13A;
          }
        }

        [Description("Reference")]
        public Tag20C Reference_C1_20C
        {
          get
          {
            return new Tag20C((SwiftElement) this, 0, (SwiftDefinitionElement) MT537.U009FU0004);
          }
        }

        [Description("Reference")]
        public Tag20C Tag20C_Reference_C1
        {
          get
          {
            return this.Reference_C1_20C;
          }
        }

        [Description("End of Block")]
        public Tag16S EndOfBlock_C1_16S
        {
          get
          {
            return new Tag16S((SwiftElement) this, 0, (SwiftDefinitionElement) MT537.U0003U0005);
          }
        }

        [Description("End of Block")]
        public Tag16S Tag16S_EndOfBlock_C1
        {
          get
          {
            return this.EndOfBlock_C1_16S;
          }
        }

        internal SequenceC1Class(SwiftElement parent, int index, bool createTags)
          : base(parent, index, createTags)
        {
        }
      }

      public class SequenceC2Class : SwiftTagSequence
      {
        internal override SwiftDefinitionElement Definition
        {
          get
          {
            return (SwiftDefinitionElement) MT537.U0005U0005;
          }
        }

        [Description("Start of Block")]
        public Tag16R StartOfBlock_C2_16R
        {
          get
          {
            return new Tag16R((SwiftElement) this, 0, (SwiftDefinitionElement) MT537.U0006U0005);
          }
        }

        [Description("Start of Block")]
        public Tag16R Tag16R_StartOfBlock_C2
        {
          get
          {
            return this.StartOfBlock_C2_16R;
          }
        }

        [Description("Place")]
        public MT537.SequenceCClass.SequenceC2Class.Tag94B[] Place_C2_94B
        {
          get
          {
            int index = -1;
            List<MT537.SequenceCClass.SequenceC2Class.Tag94B> list = new List<MT537.SequenceCClass.SequenceC2Class.Tag94B>();
            int count;
            do
            {
              ++index;
              MT537.SequenceCClass.SequenceC2Class.Tag94B tag94B = new MT537.SequenceCClass.SequenceC2Class.Tag94B((SwiftElement) this, index, (SwiftDefinitionElement) MT537.U000EU0005);
              count = this.ListTags((SwiftElement) tag94B).Count;
              if (count > 0)
                list.Add(tag94B);
            }
            while (count > 0);
            return list.ToArray();
          }
        }

        [Description("Place")]
        public MT537.SequenceCClass.SequenceC2Class.Tag94B[] Tag94B_Place_C2
        {
          get
          {
            return this.Place_C2_94B;
          }
        }

        [Description("Place")]
        public Tag94C[] Place_C2_94C
        {
          get
          {
            int index = -1;
            List<Tag94C> list = new List<Tag94C>();
            int count;
            do
            {
              ++index;
              Tag94C tag94C = new Tag94C((SwiftElement) this, index, (SwiftDefinitionElement) MT537.U0013U0005);
              count = this.ListTags((SwiftElement) tag94C).Count;
              if (count > 0)
                list.Add(tag94C);
            }
            while (count > 0);
            return list.ToArray();
          }
        }

        [Description("Place")]
        public Tag94C[] Tag94C_Place_C2
        {
          get
          {
            return this.Place_C2_94C;
          }
        }

        [Description("Place")]
        public Tag94F[] Place_C2_94F
        {
          get
          {
            int index = -1;
            List<Tag94F> list = new List<Tag94F>();
            int count;
            do
            {
              ++index;
              Tag94F tag94F = new Tag94F((SwiftElement) this, index, (SwiftDefinitionElement) MT537.U0016U0005);
              count = this.ListTags((SwiftElement) tag94F).Count;
              if (count > 0)
                list.Add(tag94F);
            }
            while (count > 0);
            return list.ToArray();
          }
        }

        [Description("Place")]
        public Tag94F[] Tag94F_Place_C2
        {
          get
          {
            return this.Place_C2_94F;
          }
        }

        [Description("Place of Clearing")]
        public Tag94H[] Place_C2_94H
        {
          get
          {
            int index = -1;
            List<Tag94H> list = new List<Tag94H>();
            int count;
            do
            {
              ++index;
              Tag94H tag94H = new Tag94H((SwiftElement) this, index, (SwiftDefinitionElement) MT537.U001BU0005);
              count = this.ListTags((SwiftElement) tag94H).Count;
              if (count > 0)
                list.Add(tag94H);
            }
            while (count > 0);
            return list.ToArray();
          }
        }

        [Description("Place of Clearing")]
        public Tag94H[] Tag94H_Place_C2
        {
          get
          {
            return this.Place_C2_94H;
          }
        }

        [Description("Identification of the Financial Instrument")]
        public Tag35B IdentificationOfFinancialInstrument_C2_35B
        {
          get
          {
            return new Tag35B((SwiftElement) this, 0, (SwiftDefinitionElement) MT537.U001EU0005);
          }
        }

        [Description("Identification of the Financial Instrument")]
        public Tag35B Tag35B_IdentificationOfFinancialInstrument_C2
        {
          get
          {
            return this.IdentificationOfFinancialInstrument_C2_35B;
          }
        }

        [Description("Posting Quantity")]
        public Tag36B[] QuantityOfFinancialInstrument_C2_36B
        {
          get
          {
            int index = -1;
            List<Tag36B> list = new List<Tag36B>();
            int count;
            do
            {
              ++index;
              Tag36B tag36B = new Tag36B((SwiftElement) this, index, (SwiftDefinitionElement) MT537.U0081U0005);
              count = this.ListTags((SwiftElement) tag36B).Count;
              if (count > 0)
                list.Add(tag36B);
            }
            while (count > 0);
            return list.ToArray();
          }
        }

        [Description("Posting Quantity")]
        public Tag36B[] Tag36B_QuantityOfFinancialInstrument_C2
        {
          get
          {
            return this.QuantityOfFinancialInstrument_C2_36B;
          }
        }

        [Description("Amount")]
        public Tag19A[] Amount_C2_19A
        {
          get
          {
            int index = -1;
            List<Tag19A> list = new List<Tag19A>();
            int count;
            do
            {
              ++index;
              Tag19A tag19A = new Tag19A((SwiftElement) this, index, (SwiftDefinitionElement) MT537.U0087U0005);
              count = this.ListTags((SwiftElement) tag19A).Count;
              if (count > 0)
                list.Add(tag19A);
            }
            while (count > 0);
            return list.ToArray();
          }
        }

        [Description("Amount")]
        public Tag19A[] Tag19A_Amount_C2
        {
          get
          {
            return this.Amount_C2_19A;
          }
        }

        [Description("Indicator")]
        public MT537.SequenceCClass.SequenceC2Class.Tag22H[] Indicator_C2_22H
        {
          get
          {
            int index = -1;
            List<MT537.SequenceCClass.SequenceC2Class.Tag22H> list = new List<MT537.SequenceCClass.SequenceC2Class.Tag22H>();
            int count;
            do
            {
              ++index;
              MT537.SequenceCClass.SequenceC2Class.Tag22H tag22H = new MT537.SequenceCClass.SequenceC2Class.Tag22H((SwiftElement) this, index, (SwiftDefinitionElement) MT537.U008BU0005);
              count = this.ListTags((SwiftElement) tag22H).Count;
              if (count > 0)
                list.Add(tag22H);
            }
            while (count > 0);
            return list.ToArray();
          }
        }

        [Description("Indicator")]
        public MT537.SequenceCClass.SequenceC2Class.Tag22H[] Tag22H_Indicator_C2
        {
          get
          {
            return this.Indicator_C2_22H;
          }
        }

        [Description("Indicator")]
        public Tag22F[] Indicator_C2_22F
        {
          get
          {
            int index = -1;
            List<Tag22F> list = new List<Tag22F>();
            int count;
            do
            {
              ++index;
              Tag22F tag22F = new Tag22F((SwiftElement) this, index, (SwiftDefinitionElement) MT537.U008EU0005);
              count = this.ListTags((SwiftElement) tag22F).Count;
              if (count > 0)
                list.Add(tag22F);
            }
            while (count > 0);
            return list.ToArray();
          }
        }

        [Description("Indicator")]
        public Tag22F[] Tag22F_Indicator_C2
        {
          get
          {
            return this.Indicator_C2_22F;
          }
        }

        [Description("Date")]
        public Tag98A[] Date_C2_98A
        {
          get
          {
            int index = -1;
            List<Tag98A> list = new List<Tag98A>();
            int count;
            do
            {
              ++index;
              Tag98A tag98A = new Tag98A((SwiftElement) this, index, (SwiftDefinitionElement) MT537.U0093U0005);
              count = this.ListTags((SwiftElement) tag98A).Count;
              if (count > 0)
                list.Add(tag98A);
            }
            while (count > 0);
            return list.ToArray();
          }
        }

        [Description("Date")]
        public Tag98A[] Tag98A_Date_C2
        {
          get
          {
            return this.Date_C2_98A;
          }
        }

        [Description("Date/Time")]
        public Tag98C[] DateTime_C2_98C
        {
          get
          {
            int index = -1;
            List<Tag98C> list = new List<Tag98C>();
            int count;
            do
            {
              ++index;
              Tag98C tag98C = new Tag98C((SwiftElement) this, index, (SwiftDefinitionElement) MT537.U0096U0005);
              count = this.ListTags((SwiftElement) tag98C).Count;
              if (count > 0)
                list.Add(tag98C);
            }
            while (count > 0);
            return list.ToArray();
          }
        }

        [Description("Date/Time")]
        public Tag98C[] Tag98C_DateTime_C2
        {
          get
          {
            return this.DateTime_C2_98C;
          }
        }

        [Description("Date Code")]
        public Tag98B[] DateCode_C2_98B
        {
          get
          {
            int index = -1;
            List<Tag98B> list = new List<Tag98B>();
            int count;
            do
            {
              ++index;
              Tag98B tag98B = new Tag98B((SwiftElement) this, index, (SwiftDefinitionElement) MT537.U009BU0005);
              count = this.ListTags((SwiftElement) tag98B).Count;
              if (count > 0)
                list.Add(tag98B);
            }
            while (count > 0);
            return list.ToArray();
          }
        }

        [Description("Date Code")]
        public Tag98B[] Tag98B_DateCode_C2
        {
          get
          {
            return this.DateCode_C2_98B;
          }
        }

        [Description("Transaction Details Narrative")]
        public Tag70E Narrative_C2_70E
        {
          get
          {
            return new Tag70E((SwiftElement) this, 0, (SwiftDefinitionElement) MT537.U009FU0005);
          }
        }

        [Description("Transaction Details Narrative")]
        public Tag70E Tag70E_Narrative_C2
        {
          get
          {
            return this.Narrative_C2_70E;
          }
        }

        [Description("Settlement Parties")]
        public MT537.SequenceCClass.SequenceC2Class.SequenceC2aClass[] SequenceC2a
        {
          get
          {
            int index = -1;
            List<MT537.SequenceCClass.SequenceC2Class.SequenceC2aClass> list = new List<MT537.SequenceCClass.SequenceC2Class.SequenceC2aClass>();
            int count;
            do
            {
              ++index;
              MT537.SequenceCClass.SequenceC2Class.SequenceC2aClass sequenceC2aClass = new MT537.SequenceCClass.SequenceC2Class.SequenceC2aClass((SwiftElement) this, index, false);
              count = this.ListTags((SwiftElement) sequenceC2aClass).Count;
              if (count > 0)
                list.Add(sequenceC2aClass);
            }
            while (count > 0);
            return list.ToArray();
          }
        }

        [Description("End of Block")]
        public Tag16S EndOfBlock_C2_16S
        {
          get
          {
            return new Tag16S((SwiftElement) this, 0, (SwiftDefinitionElement) MT537.U0087U0006);
          }
        }

        [Description("End of Block")]
        public Tag16S Tag16S_EndOfBlock_C2
        {
          get
          {
            return this.EndOfBlock_C2_16S;
          }
        }

        internal SequenceC2Class(SwiftElement parent, int index, bool createTags)
          : base(parent, index, createTags)
        {
        }

        public MT537.SequenceCClass.SequenceC2Class.Tag94B AddPlace_C2_94B()
        {
          return new MT537.SequenceCClass.SequenceC2Class.Tag94B((SwiftElement) this, this.Place_C2_94B.Length, (SwiftDefinitionElement) MT537.U000EU0005)
          {
            Value = string.Empty
          };
        }

        public void RemovePlace_C2_94B(MT537.SequenceCClass.SequenceC2Class.Tag94B tag)
        {
          this.RemoveTag(tag.GetTag());
        }

        public Tag94C AddPlace_C2_94C()
        {
          return new Tag94C((SwiftElement) this, this.Place_C2_94C.Length, (SwiftDefinitionElement) MT537.U0013U0005)
          {
            Value = string.Empty
          };
        }

        public void RemovePlace_C2_94C(Tag94C tag)
        {
          this.RemoveTag(tag.GetTag());
        }

        public Tag94F AddPlace_C2_94F()
        {
          return new Tag94F((SwiftElement) this, this.Place_C2_94F.Length, (SwiftDefinitionElement) MT537.U0016U0005)
          {
            Value = string.Empty
          };
        }

        public void RemovePlace_C2_94F(Tag94F tag)
        {
          this.RemoveTag(tag.GetTag());
        }

        public Tag94H AddPlace_C2_94H()
        {
          return new Tag94H((SwiftElement) this, this.Place_C2_94H.Length, (SwiftDefinitionElement) MT537.U001BU0005)
          {
            Value = string.Empty
          };
        }

        public void RemovePlace_C2_94H(Tag94H tag)
        {
          this.RemoveTag(tag.GetTag());
        }

        public Tag36B AddQuantityOfFinancialInstrument_C2_36B()
        {
          return new Tag36B((SwiftElement) this, this.QuantityOfFinancialInstrument_C2_36B.Length, (SwiftDefinitionElement) MT537.U0081U0005)
          {
            Value = string.Empty
          };
        }

        public void RemoveQuantityOfFinancialInstrument_C2_36B(Tag36B tag)
        {
          this.RemoveTag(tag.GetTag());
        }

        public Tag19A AddAmount_C2_19A()
        {
          return new Tag19A((SwiftElement) this, this.Amount_C2_19A.Length, (SwiftDefinitionElement) MT537.U0087U0005)
          {
            Value = string.Empty
          };
        }

        public void RemoveAmount_C2_19A(Tag19A tag)
        {
          this.RemoveTag(tag.GetTag());
        }

        public MT537.SequenceCClass.SequenceC2Class.Tag22H AddIndicator_C2_22H()
        {
          return new MT537.SequenceCClass.SequenceC2Class.Tag22H((SwiftElement) this, this.Indicator_C2_22H.Length, (SwiftDefinitionElement) MT537.U008BU0005)
          {
            Value = string.Empty
          };
        }

        public void RemoveIndicator_C2_22H(MT537.SequenceCClass.SequenceC2Class.Tag22H tag)
        {
          this.RemoveTag(tag.GetTag());
        }

        public Tag22F AddIndicator_C2_22F()
        {
          return new Tag22F((SwiftElement) this, this.Indicator_C2_22F.Length, (SwiftDefinitionElement) MT537.U008EU0005)
          {
            Value = string.Empty
          };
        }

        public void RemoveIndicator_C2_22F(Tag22F tag)
        {
          this.RemoveTag(tag.GetTag());
        }

        public Tag98A AddDate_C2_98A()
        {
          return new Tag98A((SwiftElement) this, this.Date_C2_98A.Length, (SwiftDefinitionElement) MT537.U0093U0005)
          {
            Value = string.Empty
          };
        }

        public void RemoveDate_C2_98A(Tag98A tag)
        {
          this.RemoveTag(tag.GetTag());
        }

        public Tag98C AddDateTime_C2_98C()
        {
          return new Tag98C((SwiftElement) this, this.DateTime_C2_98C.Length, (SwiftDefinitionElement) MT537.U0096U0005)
          {
            Value = string.Empty
          };
        }

        public void RemoveDateTime_C2_98C(Tag98C tag)
        {
          this.RemoveTag(tag.GetTag());
        }

        public Tag98B AddDateCode_C2_98B()
        {
          return new Tag98B((SwiftElement) this, this.DateCode_C2_98B.Length, (SwiftDefinitionElement) MT537.U009BU0005)
          {
            Value = string.Empty
          };
        }

        public void RemoveDateCode_C2_98B(Tag98B tag)
        {
          this.RemoveTag(tag.GetTag());
        }

        public MT537.SequenceCClass.SequenceC2Class.SequenceC2aClass AddSequenceC2a()
        {
          return new MT537.SequenceCClass.SequenceC2Class.SequenceC2aClass((SwiftElement) this, this.SequenceC2a.Length, true);
        }

        public void RemoveSequenceC2a(MT537.SequenceCClass.SequenceC2Class.SequenceC2aClass sequence)
        {
          foreach (SwiftTag tag in this.ListTags((SwiftElement) sequence))
            this.RemoveTag(tag);
        }

        public class Tag94B : SwiftTagWrapper
        {
          public string Value
          {
            get
            {
              return this.GetValue();
            }
            set
            {
              this.SetValue("94B", value);
            }
          }

          internal Tag94B(SwiftElement parent, int index, SwiftDefinitionElement definition)
            : base(parent, index, definition)
          {
          }
        }

        public class Tag22H : SwiftTagWrapper
        {
          public string Value
          {
            get
            {
              return this.GetValue();
            }
            set
            {
              this.SetValue("22H", value);
            }
          }

          internal Tag22H(SwiftElement parent, int index, SwiftDefinitionElement definition)
            : base(parent, index, definition)
          {
          }
        }

        public class SequenceC2aClass : SwiftTagSequence
        {
          internal override SwiftDefinitionElement Definition
          {
            get
            {
              return (SwiftDefinitionElement) MT537.U0003U0006;
            }
          }

          [Description("Start of Block")]
          public Tag16R StartOfBlock_C2a_16R
          {
            get
            {
              return new Tag16R((SwiftElement) this, 0, (SwiftDefinitionElement) MT537.U0004U0006);
            }
          }

          [Description("Start of Block")]
          public Tag16R Tag16R_StartOfBlock_C2a
          {
            get
            {
              return this.StartOfBlock_C2a_16R;
            }
          }

          [Description("Party")]
          public Tag95C Party_C2a_95C
          {
            get
            {
              return new Tag95C((SwiftElement) this, 0, (SwiftDefinitionElement) MT537.U0007U0006);
            }
          }

          [Description("Party")]
          public Tag95C Tag95C_Party_C2a
          {
            get
            {
              return this.Party_C2a_95C;
            }
          }

          [Description("Party")]
          public Tag95P Party_C2a_95P
          {
            get
            {
              return new Tag95P((SwiftElement) this, 0, (SwiftDefinitionElement) MT537.U000FU0006);
            }
          }

          [Description("Party")]
          public Tag95P Tag95P_Party_C2a
          {
            get
            {
              return this.Party_C2a_95P;
            }
          }

          [Description("Party")]
          public Tag95R Party_C2a_95R
          {
            get
            {
              return new Tag95R((SwiftElement) this, 0, (SwiftDefinitionElement) MT537.U0012U0006);
            }
          }

          [Description("Party")]
          public Tag95R Tag95R_Party_C2a
          {
            get
            {
              return this.Party_C2a_95R;
            }
          }

          [Description("Party")]
          public Tag95Q Party_C2a_95Q
          {
            get
            {
              return new Tag95Q((SwiftElement) this, 0, (SwiftDefinitionElement) MT537.U0016U0006);
            }
          }

          [Description("Party")]
          public Tag95Q Tag95Q_Party_C2a
          {
            get
            {
              return this.Party_C2a_95Q;
            }
          }

          [Description("Safekeeping Account")]
          public Tag97A Account_C2a_97A
          {
            get
            {
              return new Tag97A((SwiftElement) this, 0, (SwiftDefinitionElement) MT537.U001AU0006);
            }
          }

          [Description("Safekeeping Account")]
          public Tag97A Tag97A_Account_C2a
          {
            get
            {
              return this.Account_C2a_97A;
            }
          }

          [Description("Safekeeping Account")]
          public Tag97B Account_C2a_97B
          {
            get
            {
              return new Tag97B((SwiftElement) this, 0, (SwiftDefinitionElement) MT537.U001DU0006);
            }
          }

          [Description("Safekeeping Account")]
          public Tag97B Tag97B_Account_C2a
          {
            get
            {
              return this.Account_C2a_97B;
            }
          }

          [Description("Processing Reference")]
          public Tag20C Reference_C2a_20C
          {
            get
            {
              return new Tag20C((SwiftElement) this, 0, (SwiftDefinitionElement) MT537.U0081U0006);
            }
          }

          [Description("Processing Reference")]
          public Tag20C Tag20C_Reference_C2a
          {
            get
            {
              return this.Reference_C2a_20C;
            }
          }

          [Description("End of Block")]
          public Tag16S EndOfBlock_C2a_16S
          {
            get
            {
              return new Tag16S((SwiftElement) this, 0, (SwiftDefinitionElement) MT537.U0084U0006);
            }
          }

          [Description("End of Block")]
          public Tag16S Tag16S_EndOfBlock_C2a
          {
            get
            {
              return this.EndOfBlock_C2a_16S;
            }
          }

          internal SequenceC2aClass(SwiftElement parent, int index, bool createTags)
            : base(parent, index, createTags)
          {
          }
        }
      }

      public class SequenceC3Class : SwiftTagSequence
      {
        internal override SwiftDefinitionElement Definition
        {
          get
          {
            return (SwiftDefinitionElement) MT537.U0089U0006;
          }
        }

        [Description("Start of Block")]
        public Tag16R StartOfBlock_C3_16R
        {
          get
          {
            return new Tag16R((SwiftElement) this, 0, (SwiftDefinitionElement) MT537.U008AU0006);
          }
        }

        [Description("Start of Block")]
        public Tag16R Tag16R_StartOfBlock_C3
        {
          get
          {
            return this.StartOfBlock_C3_16R;
          }
        }

        [Description("Status")]
        public Tag25D Status_C3_25D
        {
          get
          {
            return new Tag25D((SwiftElement) this, 0, (SwiftDefinitionElement) MT537.U008CU0006);
          }
        }

        [Description("Status")]
        public Tag25D Tag25D_Status_C3
        {
          get
          {
            return this.Status_C3_25D;
          }
        }

        [Description("Reason")]
        public MT537.SequenceCClass.SequenceC3Class.SequenceC3aClass[] SequenceC3a
        {
          get
          {
            int index = -1;
            List<MT537.SequenceCClass.SequenceC3Class.SequenceC3aClass> list = new List<MT537.SequenceCClass.SequenceC3Class.SequenceC3aClass>();
            int count;
            do
            {
              ++index;
              MT537.SequenceCClass.SequenceC3Class.SequenceC3aClass sequenceC3aClass = new MT537.SequenceCClass.SequenceC3Class.SequenceC3aClass((SwiftElement) this, index, false);
              count = this.ListTags((SwiftElement) sequenceC3aClass).Count;
              if (count > 0)
                list.Add(sequenceC3aClass);
            }
            while (count > 0);
            return list.ToArray();
          }
        }

        [Description("End of Block")]
        public Tag16S EndOfBlock_C3_16S
        {
          get
          {
            return new Tag16S((SwiftElement) this, 0, (SwiftDefinitionElement) MT537.U009CU0006);
          }
        }

        [Description("End of Block")]
        public Tag16S Tag16S_EndOfBlock_C3
        {
          get
          {
            return this.EndOfBlock_C3_16S;
          }
        }

        internal SequenceC3Class(SwiftElement parent, int index, bool createTags)
          : base(parent, index, createTags)
        {
        }

        public MT537.SequenceCClass.SequenceC3Class.SequenceC3aClass AddSequenceC3a()
        {
          return new MT537.SequenceCClass.SequenceC3Class.SequenceC3aClass((SwiftElement) this, this.SequenceC3a.Length, true);
        }

        public void RemoveSequenceC3a(MT537.SequenceCClass.SequenceC3Class.SequenceC3aClass sequence)
        {
          foreach (SwiftTag tag in this.ListTags((SwiftElement) sequence))
            this.RemoveTag(tag);
        }

        public class SequenceC3aClass : SwiftTagSequence
        {
          internal override SwiftDefinitionElement Definition
          {
            get
            {
              return (SwiftDefinitionElement) MT537.U0090U0006;
            }
          }

          [Description("Start of Block")]
          public Tag16R StartOfBlock_C3a_16R
          {
            get
            {
              return new Tag16R((SwiftElement) this, 0, (SwiftDefinitionElement) MT537.U0091U0006);
            }
          }

          [Description("Start of Block")]
          public Tag16R Tag16R_StartOfBlock_C3a
          {
            get
            {
              return this.StartOfBlock_C3a_16R;
            }
          }

          [Description("Reason")]
          public Tag24B Reason_C3a_24B
          {
            get
            {
              return new Tag24B((SwiftElement) this, 0, (SwiftDefinitionElement) MT537.U0093U0006);
            }
          }

          [Description("Reason")]
          public Tag24B Tag24B_Reason_C3a
          {
            get
            {
              return this.Reason_C3a_24B;
            }
          }

          [Description("Reason Narrative")]
          public Tag70D Narrative_C3a_70D
          {
            get
            {
              return new Tag70D((SwiftElement) this, 0, (SwiftDefinitionElement) MT537.U0097U0006);
            }
          }

          [Description("Reason Narrative")]
          public Tag70D Tag70D_Narrative_C3a
          {
            get
            {
              return this.Narrative_C3a_70D;
            }
          }

          [Description("End of Block")]
          public Tag16S EndOfBlock_C3a_16S
          {
            get
            {
              return new Tag16S((SwiftElement) this, 0, (SwiftDefinitionElement) MT537.U009AU0006);
            }
          }

          [Description("End of Block")]
          public Tag16S Tag16S_EndOfBlock_C3a
          {
            get
            {
              return this.EndOfBlock_C3a_16S;
            }
          }

          internal SequenceC3aClass(SwiftElement parent, int index, bool createTags)
            : base(parent, index, createTags)
          {
          }
        }
      }
    }

    public class SequenceDClass : SwiftTagSequence
    {
      internal override SwiftDefinitionElement Definition
      {
        get
        {
          return (SwiftDefinitionElement) MT537.U0001U0007;
        }
      }

      [Description("Start of Block")]
      public Tag16R StartOfBlock_D_16R
      {
        get
        {
          return new Tag16R((SwiftElement) this, 0, (SwiftDefinitionElement) MT537.U0002U0007);
        }
      }

      [Description("Start of Block")]
      public Tag16R Tag16R_StartOfBlock_D
      {
        get
        {
          return this.StartOfBlock_D_16R;
        }
      }

      [Description("Party")]
      public Tag95P[] Party_D_95P
      {
        get
        {
          int index = -1;
          List<Tag95P> list = new List<Tag95P>();
          int count;
          do
          {
            ++index;
            Tag95P tag95P = new Tag95P((SwiftElement) this, index, (SwiftDefinitionElement) MT537.U0005U0007);
            count = this.ListTags((SwiftElement) tag95P).Count;
            if (count > 0)
              list.Add(tag95P);
          }
          while (count > 0);
          return list.ToArray();
        }
      }

      [Description("Party")]
      public Tag95P[] Tag95P_Party_D
      {
        get
        {
          return this.Party_D_95P;
        }
      }

      [Description("Party")]
      public Tag95R[] Party_D_95R
      {
        get
        {
          int index = -1;
          List<Tag95R> list = new List<Tag95R>();
          int count;
          do
          {
            ++index;
            Tag95R tag95R = new Tag95R((SwiftElement) this, index, (SwiftDefinitionElement) MT537.U0008U0007);
            count = this.ListTags((SwiftElement) tag95R).Count;
            if (count > 0)
              list.Add(tag95R);
          }
          while (count > 0);
          return list.ToArray();
        }
      }

      [Description("Party")]
      public Tag95R[] Tag95R_Party_D
      {
        get
        {
          return this.Party_D_95R;
        }
      }

      [Description("Party")]
      public Tag95Q[] Party_D_95Q
      {
        get
        {
          int index = -1;
          List<Tag95Q> list = new List<Tag95Q>();
          int count;
          do
          {
            ++index;
            Tag95Q tag95Q = new Tag95Q((SwiftElement) this, index, (SwiftDefinitionElement) MT537.U0011U0007);
            count = this.ListTags((SwiftElement) tag95Q).Count;
            if (count > 0)
              list.Add(tag95Q);
          }
          while (count > 0);
          return list.ToArray();
        }
      }

      [Description("Party")]
      public Tag95Q[] Tag95Q_Party_D
      {
        get
        {
          return this.Party_D_95Q;
        }
      }

      [Description("End of Block")]
      public Tag16S EndOfBlock_D_16S
      {
        get
        {
          return new Tag16S((SwiftElement) this, 0, (SwiftDefinitionElement) MT537.U0014U0007);
        }
      }

      [Description("End of Block")]
      public Tag16S Tag16S_EndOfBlock_D
      {
        get
        {
          return this.EndOfBlock_D_16S;
        }
      }

      internal SequenceDClass(SwiftElement parent, int index, bool createTags)
        : base(parent, index, createTags)
      {
      }

      public Tag95P AddParty_D_95P()
      {
        return new Tag95P((SwiftElement) this, this.Party_D_95P.Length, (SwiftDefinitionElement) MT537.U0005U0007)
        {
          Value = string.Empty
        };
      }

      public void RemoveParty_D_95P(Tag95P tag)
      {
        this.RemoveTag(tag.GetTag());
      }

      public Tag95R AddParty_D_95R()
      {
        return new Tag95R((SwiftElement) this, this.Party_D_95R.Length, (SwiftDefinitionElement) MT537.U0008U0007)
        {
          Value = string.Empty
        };
      }

      public void RemoveParty_D_95R(Tag95R tag)
      {
        this.RemoveTag(tag.GetTag());
      }

      public Tag95Q AddParty_D_95Q()
      {
        return new Tag95Q((SwiftElement) this, this.Party_D_95Q.Length, (SwiftDefinitionElement) MT537.U0011U0007)
        {
          Value = string.Empty
        };
      }

      public void RemoveParty_D_95Q(Tag95Q tag)
      {
        this.RemoveTag(tag.GetTag());
      }
    }
  }
}
